python3Packages.tkinter-gl: 1.0 -> 1.1
This commit is contained in:
@@ -12,14 +12,14 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "tkinter-gl";
|
||||
version = "1.0";
|
||||
version = "1.1";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "3-manifolds";
|
||||
repo = "tkinter_gl";
|
||||
tag = "v${version}_as_released";
|
||||
hash = "sha256-ObI8EEQ7mAOAuV6f+Ld4HH0xkFzqiAZqHDvzjwPA/wM";
|
||||
hash = "sha256-PNxxjyVGoMw4J/SXWvVITuGMq/HypxUwDkSxeFy2Vag=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
@@ -27,7 +27,7 @@ buildPythonPackage rec {
|
||||
rm -r src/tkinter_gl/tk
|
||||
# Platform-specific directories are only necessary when using compiled TkGL
|
||||
substituteInPlace src/tkinter_gl/__init__.py \
|
||||
--replace-fail "pkg_dir = os.path.join(__path__[0], 'tk', sys.platform,)" \
|
||||
--replace-fail "pkg_dir = os.path.join(__path__[0], 'tk', target)" \
|
||||
"pkg_dir = os.path.join(__path__[0], 'tk')"
|
||||
'';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user