aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2010-05-11 16:59:42 +0200
committerJustin Lecher <jlec@gentoo.org>2010-05-16 14:35:57 +0200
commit150623cd42f3083c452685586687310e864408f2 (patch)
tree81e5be80edaef2f1d8113879499964c3d747ec49
parentAdded pysparse (diff)
downloadsci-150623cd42f3083c452685586687310e864408f2.tar.gz
sci-150623cd42f3083c452685586687310e864408f2.tar.bz2
sci-150623cd42f3083c452685586687310e864408f2.zip
HEAD fixes
(Portage version: 2.2_rc67/git/Linux x86_64) (Signed Manifest commit)
-rw-r--r--sci-chemistry/pymol/ChangeLog11
-rw-r--r--sci-chemistry/pymol/Manifest21
-rw-r--r--sci-chemistry/pymol/files/1.2.1/nosplash-gentoo.patch9
-rw-r--r--sci-chemistry/pymol/files/1.2.1/pymol-1.2.1-data-path.patch30
-rw-r--r--sci-chemistry/pymol/files/1.2.1/pymol-1.2.1-shaders.patch10
-rw-r--r--sci-chemistry/pymol/files/1.2.2/nosplash-gentoo.patch9
-rw-r--r--sci-chemistry/pymol/files/1.2.2/pymol-1.2.2-data-path.patch30
-rw-r--r--sci-chemistry/pymol/files/1.2.2/pymol-1.2.2-shaders.patch11
-rw-r--r--sci-chemistry/pymol/files/nosplash-gentoo.patch8
-rw-r--r--sci-chemistry/pymol/files/pymol-1.2.2-data-path.patch30
-rw-r--r--sci-chemistry/pymol/files/pymol-1.2.2-shaders.patch10
-rw-r--r--sci-chemistry/pymol/files/pymol-9999-prefix.patch31
-rw-r--r--sci-chemistry/pymol/pymol-9999.ebuild18
13 files changed, 65 insertions, 163 deletions
diff --git a/sci-chemistry/pymol/ChangeLog b/sci-chemistry/pymol/ChangeLog
index 8eae91ff8..d36fe60d0 100644
--- a/sci-chemistry/pymol/ChangeLog
+++ b/sci-chemistry/pymol/ChangeLog
@@ -2,6 +2,17 @@
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+ 11 May 2010; Justin Lecher <jlec@gentoo.org>
+ -files/1.2.1/nosplash-gentoo.patch,
+ -files/1.2.1/pymol-1.2.1-data-path.patch,
+ -files/1.2.1/pymol-1.2.1-shaders.patch,
+ -files/1.2.2/pymol-1.2.2-data-path.patch,
+ -files/pymol-1.2.2-data-path.patch, -files/1.2.2/nosplash-gentoo.patch,
+ -files/1.2.2/pymol-1.2.2-shaders.patch, -files/pymol-1.2.2-shaders.patch,
+ pymol-9999.ebuild, +files/pymol-9999-prefix.patch,
+ files/nosplash-gentoo.patch:
+ HAED fixes
+
30 Mar 2010; Justin Lecher <jlec@gentoo.org> pymol-9999.ebuild:
Importet tree changes
diff --git a/sci-chemistry/pymol/Manifest b/sci-chemistry/pymol/Manifest
index a9f83af21..64ee49ec5 100644
--- a/sci-chemistry/pymol/Manifest
+++ b/sci-chemistry/pymol/Manifest
@@ -1,26 +1,19 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
-AUX 1.2.1/nosplash-gentoo.patch 485 RMD160 3b3d85ffe14a253e54c4ff89b210cf35effe7aee SHA1 627affce7ee9763e308cf6dee70b831e09bd829d SHA256 acf8ef1d53719c1b4158b0f49250e8ed7c3aa4c870ef7ce4bdbc8ec97f591e27
-AUX 1.2.1/pymol-1.2.1-data-path.patch 1585 RMD160 e8d505a25869f0abd7b1ef77e1176c5fe7b2a312 SHA1 89464b3780fc48bd239c0e0662dbd1d61665984f SHA256 c89862e631b7bb0e05426ad0550be51501380d4522820a7600708d5290e5dfa8
-AUX 1.2.1/pymol-1.2.1-shaders.patch 442 RMD160 db5ee361cd1e253b9aa012098d08eb7873d95da3 SHA1 881d25514bc744d6f12b5f30bfa1709ed45dba05 SHA256 48042a9baf28c35a55204f646f14eddcf5093e17f518d7de2ffc50cbb7914dda
-AUX 1.2.2/nosplash-gentoo.patch 485 RMD160 3b3d85ffe14a253e54c4ff89b210cf35effe7aee SHA1 627affce7ee9763e308cf6dee70b831e09bd829d SHA256 acf8ef1d53719c1b4158b0f49250e8ed7c3aa4c870ef7ce4bdbc8ec97f591e27
-AUX 1.2.2/pymol-1.2.2-data-path.patch 1585 RMD160 e8d505a25869f0abd7b1ef77e1176c5fe7b2a312 SHA1 89464b3780fc48bd239c0e0662dbd1d61665984f SHA256 c89862e631b7bb0e05426ad0550be51501380d4522820a7600708d5290e5dfa8
-AUX 1.2.2/pymol-1.2.2-shaders.patch 441 RMD160 c0d9e177f701a015aec192b2bdf6b1df31e8de16 SHA1 5651438459920b74040330ec0b7d9ea14e63818c SHA256 c15e5c5d2a6b53b96c6a7fe0b717ac0f7d85c90aca3e5b02c8d8c34b9038cb68
-AUX nosplash-gentoo.patch 485 RMD160 3b3d85ffe14a253e54c4ff89b210cf35effe7aee SHA1 627affce7ee9763e308cf6dee70b831e09bd829d SHA256 acf8ef1d53719c1b4158b0f49250e8ed7c3aa4c870ef7ce4bdbc8ec97f591e27
+AUX nosplash-gentoo.patch 543 RMD160 ea4c07254348eba396a05e355745225611fb351c SHA1 9620f94dbf9cddf50e3cbe4e885289e20a56d4d5 SHA256 1951741c01b8da97875c48458933f9d23c8b1401b0896998cba1ee6711c1dd5f
AUX pymol-0.99_rc10-data-path.patch 2969 RMD160 608e0e936fccf0860f6b5269e6739c839fcd32ea SHA1 7a3585d14431b7840eff8f6ee0a5d8324049ff77 SHA256 10c97c3d4d2f620a2884a812a6997f2cf8472f2e0c589c2630a4d0bcf67656de
-AUX pymol-1.2.2-data-path.patch 1585 RMD160 e8d505a25869f0abd7b1ef77e1176c5fe7b2a312 SHA1 89464b3780fc48bd239c0e0662dbd1d61665984f SHA256 c89862e631b7bb0e05426ad0550be51501380d4522820a7600708d5290e5dfa8
-AUX pymol-1.2.2-shaders.patch 442 RMD160 db5ee361cd1e253b9aa012098d08eb7873d95da3 SHA1 881d25514bc744d6f12b5f30bfa1709ed45dba05 SHA256 48042a9baf28c35a55204f646f14eddcf5093e17f518d7de2ffc50cbb7914dda
AUX pymol-9999-data-path.patch 1585 RMD160 e8d505a25869f0abd7b1ef77e1176c5fe7b2a312 SHA1 89464b3780fc48bd239c0e0662dbd1d61665984f SHA256 c89862e631b7bb0e05426ad0550be51501380d4522820a7600708d5290e5dfa8
+AUX pymol-9999-prefix.patch 1183 RMD160 25a3e3fb1639e0c5cc93928b4fcba412a3e9b371 SHA1 3c61c3552a579a48883c61b646f05ce1f059744e SHA256 35b14c60163517debfdeae52b3be00bc0fc6ab96c58d2bf3efb65e22728522d4
AUX pymol-9999-shaders.patch 524 RMD160 07d83746617fba941bba8ad95d889e22e5310c9a SHA1 2cbbd82a91029d7c540535c83b0f2663e58a891e SHA256 96b1e2b30c7d6699d87a9efb5cab242db66683f71bfd58bbc69f87ce4df397e0
EBUILD pymol-0.99_rc10.ebuild 2128 RMD160 5f3df016d404f36bb7bb198e25b760448d1c7b86 SHA1 b0bfd0ba6b79b1163f3cab71c35f63f70c031076 SHA256 f05e0b871df5b0443c09eed26779218a64cd68db509bddf988d7224f5f7665c1
-EBUILD pymol-9999.ebuild 2549 RMD160 1f469b5c206075dc8c1c2719c8187fd2d3fc5f36 SHA1 d866a5f48abf282dd890ee743aea57ed736dd58a SHA256 f2c00a9f14d29e8d5b91919724a260f3cc33762a6268088f864a6f0597298f37
-MISC ChangeLog 6985 RMD160 7428d029e0d453b4e6f31b90b449436c039fcc0b SHA1 9ca15c7ace21b7e01de93cca8d1b1bb584db770e SHA256 f73defe18dde1692f90a626dd3b7da8c290ccc4639c97985c097388f1d081f3c
+EBUILD pymol-9999.ebuild 2625 RMD160 012d82f2f2c1d9bdd31243140bfd3231b0d22759 SHA1 78deabe0337b5a63e50a171bfcd90a99ebf3b31b SHA256 07ecf76f89055343ce54ca716226edb4acb1ff1651c943e062cf5d6b9fe377b5
+MISC ChangeLog 7448 RMD160 01a0b21589abe5033a4b55868ec47fe7be4b02c0 SHA1 40e15aecf4f0bddc614267a1d3c918b0a4f2ff9b SHA256 926433cf7b4711dd38194a03a834f1666fc76d228a06e7f08da52c1d10516ed1
MISC metadata.xml 412 RMD160 9c33c90cdb3bc60af7dbee004b7f1cffd1b43aa6 SHA1 efd4a32d739fe54f0f464edc0843c81e9fb23437 SHA256 ee0056aa8c9e40b6da007fa8c895e15c17cb25004212b91d48dad03f6123483c
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (GNU/Linux)
-iEYEARECAAYFAkux7UcACgkQgAnW8HDreRaCoQCfT7D2kYacVB3pFnHHONjLmCM/
-ZG8AoKpChBdfdJh09JRflEytRmZFp7se
-=f3GR
+iEYEARECAAYFAkvpcN4ACgkQgAnW8HDreRZLaQCgh4Xs8RLnKLNJWwaK4457cfwy
+32UAn0cvmj8CR2NdYvELnvXFbrCqcRb2
+=DTCx
-----END PGP SIGNATURE-----
diff --git a/sci-chemistry/pymol/files/1.2.1/nosplash-gentoo.patch b/sci-chemistry/pymol/files/1.2.1/nosplash-gentoo.patch
deleted file mode 100644
index 3125b2856..000000000
--- a/sci-chemistry/pymol/files/1.2.1/nosplash-gentoo.patch
+++ /dev/null
@@ -1,9 +0,0 @@
---- modules/pymol/invocation.py 2009-06-25 17:26:27.000000000 +0200
-+++ modules/pymol/invocation.py.new 2009-06-25 17:41:57.000000000 +0200
-@@ -395,6 +395,4 @@
- if loaded_something and (options.after_load_script!=""):
- options.deferred.append(options.after_load_script)
- options.deferred.extend(final_actions)
-- if options.show_splash and not options.no_gui and not restricted:
-- options.deferred.insert(0,"_do__ cmd.splash(1)")
-
diff --git a/sci-chemistry/pymol/files/1.2.1/pymol-1.2.1-data-path.patch b/sci-chemistry/pymol/files/1.2.1/pymol-1.2.1-data-path.patch
deleted file mode 100644
index 86c3fe1f1..000000000
--- a/sci-chemistry/pymol/files/1.2.1/pymol-1.2.1-data-path.patch
+++ /dev/null
@@ -1,30 +0,0 @@
-diff -arNu -uarN pymol/modules/pymol/commanding.py pymol.new/modules/pymol/commanding.py
---- pymol/modules/pymol/commanding.py 2009-03-31 12:43:14.585834066 +0200
-+++ pymol.new/modules/pymol/commanding.py 2009-03-31 12:44:26.436354330 +0200
-@@ -219,11 +219,11 @@
- _self.unlock(0,_self)
- r = DEFAULT_SUCCESS
- if show_splash==1: # generic / open-source
-- png_path = _self.exp_path("$PYMOL_PATH/data/pymol/splash.png")
-+ png_path = _self.exp_path("$PYMOL_DATA/pymol/splash.png")
- elif show_splash==2: # evaluation builds
-- png_path = _self.exp_path("$PYMOL_PATH/data/pymol/epymol.png")
-+ png_path = _self.exp_path("$PYMOL_DATA/pymol/epymol.png")
- else: # incentive builds
-- png_path = _self.exp_path("$PYMOL_PATH/data/pymol/ipymol.png")
-+ png_path = _self.exp_path("$PYMOL_DATA/pymol/ipymol.png")
- if os.path.exists(png_path):
- _self.do("_ cmd.load_png('%s',0,quiet=1)"%png_path)
- else:
-diff -arNu -uarN pymol/modules/pymol/importing.py pymol.new/modules/pymol/importing.py
---- pymol/modules/pymol/importing.py 2009-03-31 12:43:14.546250540 +0200
-+++ pymol.new/modules/pymol/importing.py 2009-03-31 12:44:48.876657949 +0200
-@@ -191,7 +191,7 @@
- '''
- r = DEFAULT_ERROR
-
-- tables = { 'cmyk' : "$PYMOL_PATH/data/pymol/cmyk.png",
-+ tables = { 'cmyk' : "$PYMOL_DATA/pymol/cmyk.png",
- 'pymol' : 'pymol',
- 'rgb' : 'rgb' }
-
diff --git a/sci-chemistry/pymol/files/1.2.1/pymol-1.2.1-shaders.patch b/sci-chemistry/pymol/files/1.2.1/pymol-1.2.1-shaders.patch
deleted file mode 100644
index 06f756823..000000000
--- a/sci-chemistry/pymol/files/1.2.1/pymol-1.2.1-shaders.patch
+++ /dev/null
@@ -1,10 +0,0 @@
---- pymol-1.2_rc1/setup.py.old 2009-07-17 00:05:10.339203020 -0500
-+++ pymol-1.2_rc1/setup.py 2009-07-17 00:09:03.375274561 -0500
-@@ -138,6 +138,7 @@
- ("_PYMOL_INLINE",None),
- ("_PYMOL_FREETYPE",None),
- ("_PYMOL_LIBPNG",None),
-+ ("_PYMOL_OPENGL_SHADERS",None),
- # Numeric Python support
- # ("_PYMOL_NUMPY",None),
- # VMD plugin support
diff --git a/sci-chemistry/pymol/files/1.2.2/nosplash-gentoo.patch b/sci-chemistry/pymol/files/1.2.2/nosplash-gentoo.patch
deleted file mode 100644
index 3125b2856..000000000
--- a/sci-chemistry/pymol/files/1.2.2/nosplash-gentoo.patch
+++ /dev/null
@@ -1,9 +0,0 @@
---- modules/pymol/invocation.py 2009-06-25 17:26:27.000000000 +0200
-+++ modules/pymol/invocation.py.new 2009-06-25 17:41:57.000000000 +0200
-@@ -395,6 +395,4 @@
- if loaded_something and (options.after_load_script!=""):
- options.deferred.append(options.after_load_script)
- options.deferred.extend(final_actions)
-- if options.show_splash and not options.no_gui and not restricted:
-- options.deferred.insert(0,"_do__ cmd.splash(1)")
-
diff --git a/sci-chemistry/pymol/files/1.2.2/pymol-1.2.2-data-path.patch b/sci-chemistry/pymol/files/1.2.2/pymol-1.2.2-data-path.patch
deleted file mode 100644
index 86c3fe1f1..000000000
--- a/sci-chemistry/pymol/files/1.2.2/pymol-1.2.2-data-path.patch
+++ /dev/null
@@ -1,30 +0,0 @@
-diff -arNu -uarN pymol/modules/pymol/commanding.py pymol.new/modules/pymol/commanding.py
---- pymol/modules/pymol/commanding.py 2009-03-31 12:43:14.585834066 +0200
-+++ pymol.new/modules/pymol/commanding.py 2009-03-31 12:44:26.436354330 +0200
-@@ -219,11 +219,11 @@
- _self.unlock(0,_self)
- r = DEFAULT_SUCCESS
- if show_splash==1: # generic / open-source
-- png_path = _self.exp_path("$PYMOL_PATH/data/pymol/splash.png")
-+ png_path = _self.exp_path("$PYMOL_DATA/pymol/splash.png")
- elif show_splash==2: # evaluation builds
-- png_path = _self.exp_path("$PYMOL_PATH/data/pymol/epymol.png")
-+ png_path = _self.exp_path("$PYMOL_DATA/pymol/epymol.png")
- else: # incentive builds
-- png_path = _self.exp_path("$PYMOL_PATH/data/pymol/ipymol.png")
-+ png_path = _self.exp_path("$PYMOL_DATA/pymol/ipymol.png")
- if os.path.exists(png_path):
- _self.do("_ cmd.load_png('%s',0,quiet=1)"%png_path)
- else:
-diff -arNu -uarN pymol/modules/pymol/importing.py pymol.new/modules/pymol/importing.py
---- pymol/modules/pymol/importing.py 2009-03-31 12:43:14.546250540 +0200
-+++ pymol.new/modules/pymol/importing.py 2009-03-31 12:44:48.876657949 +0200
-@@ -191,7 +191,7 @@
- '''
- r = DEFAULT_ERROR
-
-- tables = { 'cmyk' : "$PYMOL_PATH/data/pymol/cmyk.png",
-+ tables = { 'cmyk' : "$PYMOL_DATA/pymol/cmyk.png",
- 'pymol' : 'pymol',
- 'rgb' : 'rgb' }
-
diff --git a/sci-chemistry/pymol/files/1.2.2/pymol-1.2.2-shaders.patch b/sci-chemistry/pymol/files/1.2.2/pymol-1.2.2-shaders.patch
deleted file mode 100644
index 7d0c35d83..000000000
--- a/sci-chemistry/pymol/files/1.2.2/pymol-1.2.2-shaders.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- setup.py.old 2009-10-03 01:01:22.444881137 -0500
-+++ setup.py 2009-10-03 01:01:41.580752440 -0500
-@@ -139,7 +139,7 @@
- ("_PYMOL_FREETYPE",None),
- ("_PYMOL_LIBPNG",None),
- # OpenGL shaders
--# ("_PYMOL_OPENGL_SHADERS",None),
-+ ("_PYMOL_OPENGL_SHADERS",None),
- # Numeric Python support
- # ("_PYMOL_NUMPY",None),
- # VMD plugin support
diff --git a/sci-chemistry/pymol/files/nosplash-gentoo.patch b/sci-chemistry/pymol/files/nosplash-gentoo.patch
index 3125b2856..89e811dcf 100644
--- a/sci-chemistry/pymol/files/nosplash-gentoo.patch
+++ b/sci-chemistry/pymol/files/nosplash-gentoo.patch
@@ -1,6 +1,8 @@
---- modules/pymol/invocation.py 2009-06-25 17:26:27.000000000 +0200
-+++ modules/pymol/invocation.py.new 2009-06-25 17:41:57.000000000 +0200
-@@ -395,6 +395,4 @@
+Index: modules/pymol/invocation.py
+===================================================================
+--- modules/pymol/invocation.py (revision 3908)
++++ modules/pymol/invocation.py (working copy)
+@@ -398,6 +398,4 @@
if loaded_something and (options.after_load_script!=""):
options.deferred.append(options.after_load_script)
options.deferred.extend(final_actions)
diff --git a/sci-chemistry/pymol/files/pymol-1.2.2-data-path.patch b/sci-chemistry/pymol/files/pymol-1.2.2-data-path.patch
deleted file mode 100644
index 86c3fe1f1..000000000
--- a/sci-chemistry/pymol/files/pymol-1.2.2-data-path.patch
+++ /dev/null
@@ -1,30 +0,0 @@
-diff -arNu -uarN pymol/modules/pymol/commanding.py pymol.new/modules/pymol/commanding.py
---- pymol/modules/pymol/commanding.py 2009-03-31 12:43:14.585834066 +0200
-+++ pymol.new/modules/pymol/commanding.py 2009-03-31 12:44:26.436354330 +0200
-@@ -219,11 +219,11 @@
- _self.unlock(0,_self)
- r = DEFAULT_SUCCESS
- if show_splash==1: # generic / open-source
-- png_path = _self.exp_path("$PYMOL_PATH/data/pymol/splash.png")
-+ png_path = _self.exp_path("$PYMOL_DATA/pymol/splash.png")
- elif show_splash==2: # evaluation builds
-- png_path = _self.exp_path("$PYMOL_PATH/data/pymol/epymol.png")
-+ png_path = _self.exp_path("$PYMOL_DATA/pymol/epymol.png")
- else: # incentive builds
-- png_path = _self.exp_path("$PYMOL_PATH/data/pymol/ipymol.png")
-+ png_path = _self.exp_path("$PYMOL_DATA/pymol/ipymol.png")
- if os.path.exists(png_path):
- _self.do("_ cmd.load_png('%s',0,quiet=1)"%png_path)
- else:
-diff -arNu -uarN pymol/modules/pymol/importing.py pymol.new/modules/pymol/importing.py
---- pymol/modules/pymol/importing.py 2009-03-31 12:43:14.546250540 +0200
-+++ pymol.new/modules/pymol/importing.py 2009-03-31 12:44:48.876657949 +0200
-@@ -191,7 +191,7 @@
- '''
- r = DEFAULT_ERROR
-
-- tables = { 'cmyk' : "$PYMOL_PATH/data/pymol/cmyk.png",
-+ tables = { 'cmyk' : "$PYMOL_DATA/pymol/cmyk.png",
- 'pymol' : 'pymol',
- 'rgb' : 'rgb' }
-
diff --git a/sci-chemistry/pymol/files/pymol-1.2.2-shaders.patch b/sci-chemistry/pymol/files/pymol-1.2.2-shaders.patch
deleted file mode 100644
index 06f756823..000000000
--- a/sci-chemistry/pymol/files/pymol-1.2.2-shaders.patch
+++ /dev/null
@@ -1,10 +0,0 @@
---- pymol-1.2_rc1/setup.py.old 2009-07-17 00:05:10.339203020 -0500
-+++ pymol-1.2_rc1/setup.py 2009-07-17 00:09:03.375274561 -0500
-@@ -138,6 +138,7 @@
- ("_PYMOL_INLINE",None),
- ("_PYMOL_FREETYPE",None),
- ("_PYMOL_LIBPNG",None),
-+ ("_PYMOL_OPENGL_SHADERS",None),
- # Numeric Python support
- # ("_PYMOL_NUMPY",None),
- # VMD plugin support
diff --git a/sci-chemistry/pymol/files/pymol-9999-prefix.patch b/sci-chemistry/pymol/files/pymol-9999-prefix.patch
new file mode 100644
index 000000000..211881435
--- /dev/null
+++ b/sci-chemistry/pymol/files/pymol-9999-prefix.patch
@@ -0,0 +1,31 @@
+diff --git a/setup.py b/setup.py
+index 197f827..b39c129 100644
+--- a/setup.py
++++ b/setup.py
+@@ -112,7 +112,7 @@ elif sys.platform=='darwin':
+ ]
+ ext_comp_args=[]
+ ext_link_args=[
+- "-L/usr/X11R6/lib", "-lGL", "-lXxf86vm",
++ "-L@GENTOO_PORTAGE_EPREFIX@/usr/lib", "-lGL", "-lXxf86vm",
+ "-L"+EXT+"/lib", "-lpng", "-lglut", "-lfreetype"
+ ]
+ #============================================================================
+@@ -120,7 +120,7 @@ else: # linux or other unix
+ inc_dirs=["ov/src",
+ "layer0","layer1","layer2",
+ "layer3","layer4","layer5",
+- "/usr/include/freetype2",
++ "@GENTOO_PORTAGE_EPREFIX@/usr/include/freetype2",
+ # "/users/warren/ext/include",
+ # VMD plugin support
+ # "contrib/uiuc/plugins/include",
+@@ -131,7 +131,7 @@ else: # linux or other unix
+ ]
+ pyogl_libs = ["GL","GLU","glut"]
+ lib_dirs=[
+- "/usr/X11R6/lib",
++ "@GENTOO_PORTAGE_EPREFIX@/usr/lib",
+ # "/users/warren/pymol/ext/lib"
+ ]
+ def_macros=[("_PYMOL_MODULE",None),
diff --git a/sci-chemistry/pymol/pymol-9999.ebuild b/sci-chemistry/pymol/pymol-9999.ebuild
index 7bfef086e..f938474d0 100644
--- a/sci-chemistry/pymol/pymol-9999.ebuild
+++ b/sci-chemistry/pymol/pymol-9999.ebuild
@@ -17,7 +17,7 @@ SRC_URI=""
LICENSE="PSF-2.2"
SLOT="0"
-KEYWORDS="~amd64 ~ppc x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux"
IUSE="apbs numpy shaders vmd"
DEPEND="
@@ -37,11 +37,10 @@ DEPEND="
RDEPEND="${DEPEND}"
RESTRICT_PYTHON_ABIS="3.* 2.4"
-
src_prepare() {
- epatch "${FILESDIR}"/1.2.2-data-path.patch
+ epatch "${FILESDIR}"/${P}-data-path.patch
- epatch "${FILESDIR}"/1.2.2-prefix.patch && \
+ epatch "${FILESDIR}"/${P}-prefix.patch && \
eprefixify setup.py
# Turn off splash screen. Please do make a project contribution
@@ -60,15 +59,20 @@ src_prepare() {
use vmd && \
sed \
- -e 's:\] + 0 \* \[:] + 1 * [:g' \
- -e '/contrib\/uiuc\/plugins/s:^#::g' \
- -e '/PYMOL_VMD_PLUGINS/s:^#::g' \
+ -e '/PYMOL_VMD/s:^#::g' \
+ -e 's: ] + 0 * [: ] + 1 * [:g' \
-i setup.py
use numpy && \
sed \
-e '/PYMOL_NUMPY/s:^#::g' \
-i setup.py
+
+ rm ./modules/pmg_tk/startup/apbs_tools.py || die
+
+ # python 3.* fix
+ # sed '452,465d' -i setup.py
+ distutils_src_prepare
}
src_configure() {