summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2013-11-22 13:38:24 +0000
committerJustin Lecher <jlec@gentoo.org>2013-11-22 13:38:24 +0000
commit6aaece7c1f1ff4bf297a0e9a21da81cb5cbc63ef (patch)
tree1b992dddca07d1d4e43d281cb078800c4d674f9b /sci-chemistry
parentversion bump, remove old (diff)
downloadhistorical-6aaece7c1f1ff4bf297a0e9a21da81cb5cbc63ef.tar.gz
historical-6aaece7c1f1ff4bf297a0e9a21da81cb5cbc63ef.tar.bz2
historical-6aaece7c1f1ff4bf297a0e9a21da81cb5cbc63ef.zip
sci-chemistry/pymol-apbs-plugin: Version BUmp, add fix for tcltk8.6 support
Package-Manager: portage-2.2.7/cvs/Linux x86_64 RepoMan-Options: --force Manifest-Sign-Key: 0xB9D4F231BD1558AB!
Diffstat (limited to 'sci-chemistry')
-rw-r--r--sci-chemistry/pymol-apbs-plugin/ChangeLog9
-rw-r--r--sci-chemistry/pymol-apbs-plugin/Manifest29
-rw-r--r--sci-chemistry/pymol-apbs-plugin/files/pymol-apbs-plugin-2.1_p26-tcltk8.6.patch176
-rw-r--r--sci-chemistry/pymol-apbs-plugin/metadata.xml8
-rw-r--r--sci-chemistry/pymol-apbs-plugin/pymol-apbs-plugin-2.1_p26.ebuild56
5 files changed, 265 insertions, 13 deletions
diff --git a/sci-chemistry/pymol-apbs-plugin/ChangeLog b/sci-chemistry/pymol-apbs-plugin/ChangeLog
index 85d5d5f5aeeb..22e760800473 100644
--- a/sci-chemistry/pymol-apbs-plugin/ChangeLog
+++ b/sci-chemistry/pymol-apbs-plugin/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for sci-chemistry/pymol-apbs-plugin
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/pymol-apbs-plugin/ChangeLog,v 1.10 2013/06/19 04:19:46 bicatali Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/pymol-apbs-plugin/ChangeLog,v 1.11 2013/11/22 13:38:23 jlec Exp $
+
+*pymol-apbs-plugin-2.1_p26 (22 Nov 2013)
+
+ 22 Nov 2013; Justin Lecher <jlec@gentoo.org>
+ +pymol-apbs-plugin-2.1_p26.ebuild,
+ +files/pymol-apbs-plugin-2.1_p26-tcltk8.6.patch, metadata.xml:
+ Version BUmp, add fix for tcltk8.6 support
19 Jun 2013; SĂ©bastien Fabbro <bicatali@gentoo.org> metadata.xml:
Changed herd to sci-chemistry
diff --git a/sci-chemistry/pymol-apbs-plugin/Manifest b/sci-chemistry/pymol-apbs-plugin/Manifest
index b2412937af9e..5fc9ccc6dc10 100644
--- a/sci-chemistry/pymol-apbs-plugin/Manifest
+++ b/sci-chemistry/pymol-apbs-plugin/Manifest
@@ -1,18 +1,31 @@
-----BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA256
+Hash: SHA512
+AUX pymol-apbs-plugin-2.1_p26-tcltk8.6.patch 9553 SHA256 e7ec16e9d105931cc4fc26e358b150e8d860b7323092247ecf3b5f1df9310384 SHA512 0c00a6f10f23905f42dd33bf99f4f3fd2d217dc29931d2f8282a1de8d636ff059fc365b062f80359a4fb88731f3a8535a56dbef5da8c9a67908b94d00d82f065 WHIRLPOOL a8065f324172e9b0177486031d0cc3d52a8aa2cf8803e17fb689f181b118d641c9a1fdd924eaee4b211bfdcaf63d6d5c203860b37841b53b96b99384b232a80c
DIST pymol-apbs-plugin-0_p15.py 104351 SHA256 c5a259ddc1931f1ec4efe0ffc3ae9e9ac4a84a28c83a4f93a06ebb7c1bef0c1d
DIST pymol-apbs-plugin-0_p18.py 108766 SHA256 ec09c5a0903ac965cc29fcf0a3c1999bd939f9791d037915596092698855d12c
-DIST pymol-apbs-plugin-2.1_p24.py 113049 SHA256 d51bb1bbbf641777ee36713c0c47696d7906179e42cac8cdd0e8e156ef081c9f
+DIST pymol-apbs-plugin-2.1_p24.py 113049 SHA256 d51bb1bbbf641777ee36713c0c47696d7906179e42cac8cdd0e8e156ef081c9f SHA512 49141ea7e4a3a3430d342fb4fbb497d522ce6485c6d9e3527414519574eab7b8218fe240f26920013676528c40059a46341d58153bfe9d05bf747ead926b2cfd WHIRLPOOL 17a4f9ed9670b9a7f82395a9cf1ad465635f840b7389c10ad8c8eae3262c3696383bbacadf5aee9fed817eff7370008cc85a1666896fed56dffb0163e4c3d7e1
+DIST pymol-apbs-plugin-2.1_p26.py 113086 SHA256 552242b4f5b47f298eeb0616e0d51924b4a7649dc8a16e4809e923dbcb97738d SHA512 3561d077875a1880d6badccf835db3d17e0c45416accd6127cbef7c550711908b47ccb392563e3d29ecb7d6527c098584eeabb6490d1033720ed7efe751d0fb0 WHIRLPOOL dccd32b0193e74e505d69922b441323fb24b0ba30aa85f4d69b94663ab406a57b772985ca2c56146e2c4b929f73b321095c3ae2caf95f297f14d8b31671f475e
EBUILD pymol-apbs-plugin-0_p15.ebuild 1560 SHA256 f8e5f0c27d8e545e7f35fe2c6a5748595ba6e32d87ae2811d70c20fae38162c8 SHA512 6d84e564cee32f6af9d2d713da2c525b70788d84173365db5df9fd670e5e8a07c8c57eb2ca496dbdacf1863d9b8d94af0a9477b22f2164c383b8bb50a0cec4cb WHIRLPOOL 9eb71604fa67d70fef00d0a6b62a008a03240488cafa50806b0223cea4722d9f684b555ecab4e7cf41631aa7fc492a82cb049ff41f7f0101c030b5e2af10253f
EBUILD pymol-apbs-plugin-0_p18.ebuild 1562 SHA256 5243c77704b6fe53ac2a93cb4494b75356f8cc9347b25d5703215afe6e59be93 SHA512 767e79d3c564e2c4b4a18304a82100d968d21c5b9c3b683fd4d54dee33472eb9bb6c4556512b87feb3c9e0fc4c4519af0119726cccf012c62152e6aaa246be35 WHIRLPOOL 9c8a1bcb57225cf4ffbac559f9f5d5f77440dd52d5970df214006212f7dc750c176d8e4fcc36d8808fc3442d03cdddb1b9411c59ea84c519406097fb1f779bf0
EBUILD pymol-apbs-plugin-2.1_p24.ebuild 1563 SHA256 9699ed1122483edd8d9a631273fba0daa8d0dbcd580161bd2a66251df90a8949 SHA512 b102134c85ad045d9c97da2e4c9331c004ed949fedbbd7f14aa3654369d126fbf96fac2c4d48906ca8f86cf081926a2008bfb2073839798dd0703c831b7f5bc5 WHIRLPOOL e3d61783a6f4547a9b227eb5b2c2bd5602d3352f8e2183adf77d67c0460061fcebe75bb4409f25ed260d52f12eabb871978c24e8f50de32ea81cc142f61f4c6e
-MISC ChangeLog 1847 SHA256 8c0bce0d8391235ec0569500c3c610fd0bd9963bf852317b9f022b07758cdd7e SHA512 6e11fa2c9a79a99d6b170715aecdd35873a6d79960e2d1fbf32adcd73cf6d69b0c8411a80bcf90ca95d2e97a0e3660a13cc9cc554445d8a9c573173865787964 WHIRLPOOL 3e77d75e3b614874b7607f12bd0e7318a3a93add543842e5ff26373b36c7ae39d1c9a6c731e193d0ba37bf236bb18eeb0822b238cea78e20b7ceace31ab49dc5
-MISC metadata.xml 226 SHA256 094a3ac740c81b9afbff3c855ba93cc20a593cad2392f6f4404715608a836fa1 SHA512 be92ba5ea991a54c4f32b847d3e3ff21efa29cac76d4925445dea9522f668c94ecc9f0f31b91c807eb6d536aad8607b2419a584f9e95796b4ad126d0609e77d8 WHIRLPOOL 7c7db0028cc0b7b5eaac6a61803bd340c11f0c8aa6a48b9149831987a8d3b7b0e1c17e521c957a1bf681fa590fc15cbd39f113105c834999e6e2733a3884f850
+EBUILD pymol-apbs-plugin-2.1_p26.ebuild 1550 SHA256 b4bc2806123a8ef1b22ad94d18b808400b7cdd7f2d8e82afac527e56eb298b83 SHA512 3bd658bc0d97b78b01ae4c772e2b3f3252ffd32f5619ee9b501cea357a92e70077aeaef4bddcb000f7c1bbfcb1a1a448ebf05e5d76cba18c81949f8826f46bb2 WHIRLPOOL 5a9b3df34a87fd8a24457bf862c3f8af65f74f650d954ccc387b71e99ddc4d49020497fd983d41aeb8e4e59898b9109b2eb2aeca1dfe9e8fef9e02cdbc68007f
+MISC ChangeLog 2080 SHA256 9a20c9b336a6b5582007d52cd17a54fc7c25ee95677818c768991275a634ba90 SHA512 c2c71265112d4e88469c729f948dc9bfd28a23b95902672b637df1128cf2da30478ac69a9708dca42b1282744804aba09d520e380653c70a95f616ea5d0d1f0a WHIRLPOOL 6153f775664ab991fa08b14fdf83c5fe3daa41ac6d44f27011272a05bbf23318175a8e4270a61304e7f609f5f29e456f80507d33adf47a75198a401149cbf734
+MISC metadata.xml 234 SHA256 8297e76ecd2cb828f604e9f138b263179eb84beb640215a0f60d7613eb46bb7f SHA512 0e94c0e6570a9267a39968d81c3b80680ccbc6eebb62199e4830b021a114c94a0de17ef2103cef62b7e27da1f51f225a30abb802aff82140ae6dc43366113d31 WHIRLPOOL fa6d4d90b092953b88ed3ad03e1e8c189296d268b39d13a4b4dcb78f0c4456341e3f1b44eea0860054fee43079179cb7cf7a912acf1fbe693ecdca6d9a65f081
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.20 (GNU/Linux)
+Version: GnuPG v2.0.22 (GNU/Linux)
-iEYEAREIAAYFAlHBMWMACgkQ1ycZbhPLE2CBGgCgk+2sxn92SYZeQI6xOOKFYN+n
-8UAAnjPe37tyI8cD75NtccYRc9YWIMy1
-=8qM3
+iQIcBAEBCgAGBQJSj15QAAoJELnU8jG9FVir7gEP/A/GVmZhou0M6fmRgstk9mAG
+awL8Nmed46x/L54wmXQxC70tiyc6Ag4rWNqSv1+rWXpXRdkg+E1AYPUt91nUuZFS
+PxO6lrRuB8l18iVjFRs2OQuFnf5RWOFexqCixP5mfExR+/j0xOA3iOtk872jJPFE
+EmDvFvJ4lyS5KcEIMmyJ7YEdPRYtOz0PN5lvab1jWvtyfZVxcoFs3pPV/bvgrDsq
+9DWC9FrOtSM9z04ETcFVer3c87EQvn1HjxdgZFJG1TtJxv3+Agidig4AKTCEglLq
+kfxvRoXw8CikxRkGXfLtNf92QNuGj2FGDULjbSzod+6FLITl3aUL18T0EJIlz4YT
+bHQO2YXa+9j5Mk+CWNiI+rLyAOLI+aoDARW+b+KWY3WZNBQS9u58XTMCmde4Uymi
+bvYM3Si+EHFKTwPukoau+M3m+RKOvFqIa7MyhjBbPCsxpvogrxijLP2CPLCmUZWj
+PSsTAvVRZaYtrQp3WXLy/b3TGIg1An8JAPE/y6ykFg9IkSEUJHTJSj4yAYguMrEM
++YPFEobQyF4vqUOo/5/rmkF+GZNaxPvwHZzNW7/+doyf6jw+h5xpxgPK40CN4H6A
+lSEp743sHu/+plNy5y1aFPhecq7i3ld2JZ4eCD20vc+GcT4EOAQ3qsQ/eqjbbCSl
+89dQz4NBL1F0T5gg/kdm
+=qVOB
-----END PGP SIGNATURE-----
diff --git a/sci-chemistry/pymol-apbs-plugin/files/pymol-apbs-plugin-2.1_p26-tcltk8.6.patch b/sci-chemistry/pymol-apbs-plugin/files/pymol-apbs-plugin-2.1_p26-tcltk8.6.patch
new file mode 100644
index 000000000000..c3675cf4c0d0
--- /dev/null
+++ b/sci-chemistry/pymol-apbs-plugin/files/pymol-apbs-plugin-2.1_p26-tcltk8.6.patch
@@ -0,0 +1,176 @@
+--- pymol-apbs-plugin-2.1_p26.py.orig 2013-08-16 20:29:27.000000000 -0400
++++ pymol-apbs-plugin-2.1_p26.py 2013-08-16 20:31:35.000000000 -0400
+@@ -560,7 +560,8 @@
+ # Set up the Main page
+ page = self.notebook.add('Main')
+ group = Pmw.Group(page,tag_text='Main options')
+- group.pack(fill = 'both', expand = 1, padx = 10, pady = 5)
++ #group.pack(fill = 'both', expand = 1, padx = 10, pady = 5)
++ group.grid(padx = 10, pady = 5, sticky=(N, S, E, W))
+ self.selection = Pmw.EntryField(group.interior(),
+ labelpos='w',
+ label_text='Selection to use: ',
+@@ -606,7 +607,8 @@
+ page = self.notebook.add('Configuration')
+
+ group = Pmw.Group(page,tag_text='Dielectric Constants')
+- group.pack(fill = 'both', expand = 1, padx = 4, pady = 5)
++ #group.pack(fill = 'both', expand = 1, padx = 4, pady = 5)
++ group.grid(padx = 4, pady = 5, sticky=(N, S, E, W))
+ group.grid(column=0, row=0)
+ self.interior_dielectric = Pmw.EntryField(group.interior(),labelpos='w',
+ label_text = 'Protein Dielectric:',
+@@ -625,7 +627,8 @@
+ #entry.pack(side='left',fill='both',expand=1,padx=4) # side-by-side
+ entry.pack(fill='x',expand=1,padx=4,pady=1) # vertical
+ group = Pmw.Group(page,tag_text='Other')
+- group.pack(fill='both',expand=1, padx=4, pady=5)
++ #group.pack(fill='both',expand=1, padx=4, pady=5)
++ group.grid(padx=4, pady=5, sticky=(N, S, E, W))
+ group.grid(column=1, row=1,columnspan=4)
+ self.max_mem_allowed = Pmw.EntryField(group.interior(),labelpos='w',
+ label_text = 'Maximum Memory Allowed (MB):',
+@@ -683,7 +686,8 @@
+
+
+ group = Pmw.Group(page,tag_text='Ions')
+- group.pack(fill='both',expand=1, padx=4, pady=5)
++ #group.pack(fill='both',expand=1, padx=4, pady=5)
++ group.grid(padx=4, pady=5, sticky=(N, S, E, W))
+ group.grid(column=0, row=1, )
+ self.ion_plus_one_conc = Pmw.EntryField(group.interior(),
+ labelpos='w',
+@@ -742,7 +746,8 @@
+ entry.pack(fill='x',expand=1,padx=4)
+
+ group = Pmw.Group(page,tag_text = 'Coarse Mesh Length')
+- group.pack(fill = 'both', expand = 1, padx = 4, pady = 5)
++ #group.pack(fill = 'both', expand = 1, padx = 4, pady = 5)
++ group.grid(padx = 4, pady = 5, sticky=(N, S, E, W))
+ group.grid(column = 1, row = 0)
+ for coord in 'x y z'.split():
+ setattr(self,'grid_coarse_%s'%coord,Pmw.EntryField(group.interior(),
+@@ -757,7 +762,8 @@
+
+
+ group = Pmw.Group(page,tag_text = 'Fine Mesh Length')
+- group.pack(fill = 'both', expand = 1, padx = 4, pady = 5)
++ #group.pack(fill = 'both', expand = 1, padx = 4, pady = 5)
++ group.grid(padx = 4, pady = 5, sticky=(N, S, E, W))
+ group.grid(column = 2, row = 0)
+ for coord in 'x y z'.split():
+ setattr(self,'grid_fine_%s'%coord,Pmw.EntryField(group.interior(),
+@@ -772,7 +778,8 @@
+
+
+ group = Pmw.Group(page,tag_text = 'Grid Center')
+- group.pack(fill = 'both', expand = 1, padx = 4, pady = 5)
++ #group.pack(fill = 'both', expand = 1, padx = 4, pady = 5)
++ group.grid(padx = 4, pady = 5, sticky=(N, S, E, W))
+ group.grid(column = 3, row = 0)
+ for coord in 'x y z'.split():
+ setattr(self,'grid_center_%s'%coord,Pmw.EntryField(group.interior(),
+@@ -786,7 +793,8 @@
+ getattr(self,'grid_center_%s'%coord).pack(fill='x', expand=1, padx=4, pady=1)
+
+ group = Pmw.Group(page,tag_text = 'Grid Points')
+- group.pack(fill = 'both', expand = 1, padx = 4, pady = 5)
++ #group.pack(fill = 'both', expand = 1, padx = 4, pady = 5)
++ group.grid(padx = 4, pady = 5, sticky=(N, S, E, W))
+ group.grid(column = 4, row = 0)
+ for coord in 'x y z'.split():
+ setattr(self,'grid_points_%s'%coord,Pmw.EntryField(group.interior(),
+@@ -804,7 +812,8 @@
+ page.grid_columnconfigure(5,weight=1)
+ page = self.notebook.add('Program Locations')
+ group = Pmw.Group(page,tag_text='Locations')
+- group.pack(fill = 'both', expand = 1, padx = 10, pady = 5)
++ #group.pack(fill = 'both', expand = 1, padx = 10, pady = 5)
++ group.grid(padx = 10, pady = 5, sticky=(N, S, E, W))
+ def quickFileValidation(s):
+ if s == '': return Pmw.PARTIAL
+ elif os.path.isfile(s): return Pmw.OK
+@@ -867,7 +876,8 @@
+
+ page = self.notebook.add('Temp File Locations')
+ group = Pmw.Group(page,tag_text='Locations')
+- group.pack(fill = 'both', expand = 1, padx = 10, pady = 5)
++ #group.pack(fill = 'both', expand = 1, padx = 10, pady = 5)
++ group.grid(padx = 10, pady = 5, sticky=(N, S, E, W))
+ self.pymol_generated_pqr_filename = Pmw.EntryField(group.interior(),
+ labelpos = 'w',
+ label_pyclass = FileDialogButtonClassFactory.get(self.setPymolGeneratedPqrFilename),
+@@ -915,17 +925,20 @@
+ page = self.notebook.add('Visualization (1)')
+ group = VisualizationGroup(page,tag_text='Visualization',visgroup_num=1)
+ self.visualization_group_1 = group
+- group.pack(fill = 'both', expand = 1, padx = 10, pady = 5)
++ #group.pack(fill = 'both', expand = 1, padx = 10, pady = 5)
++ group.grid(padx = 10, pady = 5, sticky=(N, S, E, W))
+
+ page = self.notebook.add('Visualization (2)')
+ group = VisualizationGroup(page,tag_text='Visualization',visgroup_num=2)
+ self.visualization_group_2 = group
+- group.pack(fill = 'both', expand = 1, padx = 10, pady = 5)
++ #group.pack(fill = 'both', expand = 1, padx = 10, pady = 5)
++ group.grid(padx = 10, pady = 5, sticky=(N, S, E, W))
+
+ # Create a couple of other empty pages
+ page = self.notebook.add('About')
+ group = Pmw.Group(page, tag_text='About PyMOL APBS Tools')
+- group.pack(fill = 'both', expand = 1, padx = 10, pady = 5)
++ #group.pack(fill = 'both', expand = 1, padx = 10, pady = 5)
++ group.grid(padx = 10, pady = 5, sticky=(N, S, E, W))
+ text = """This plugin integrates PyMOL (http://PyMOL.org/) with APBS (http://www.poissonboltzmann.org/apbs/).
+
+ Documentation may be found at
+@@ -2158,7 +2171,8 @@
+ self.update_buttonbox = Pmw.ButtonBox(self.mm_group.interior(), padx=0)
+ self.update_buttonbox.pack(side=LEFT)
+ self.update_buttonbox.add('Update',command=self.refresh)
+- self.mm_group.pack(fill = 'both', expand = 1, padx = 4, pady = 5, side=TOP)
++ #self.mm_group.pack(fill = 'both', expand = 1, padx = 4, pady = 5, side=TOP)
++ self.mm_group.grid(padx = 4, pady = 5, sticky=(N, S, E, W))
+
+ self.ms_group = Pmw.Group(self.interior(),tag_text='Molecular Surface')
+ self.ms_buttonbox = Pmw.ButtonBox(self.ms_group.interior(), padx=0)
+@@ -2209,7 +2223,8 @@
+ bars = (self.mol_surf_low,self.mol_surf_middle,self.mol_surf_high)
+ Pmw.alignlabels(bars)
+ for bar in bars: bar.pack(side=LEFT)
+- self.ms_group.pack(fill = 'both', expand = 1, padx = 4, pady = 5, side=LEFT)
++ #self.ms_group.pack(fill = 'both', expand = 1, padx = 4, pady = 5, side=LEFT)
++ self.ms_group.grid(padx = 4, pady = 5, sticky=(N, S, E, W))
+
+ self.fl_group = Pmw.Group(self.interior(),tag_text='Field Lines')
+ self.fl_buttonbox = Pmw.ButtonBox(self.fl_group.interior(), padx=0)
+@@ -2224,7 +2239,8 @@
+ text = """Follows same coloring as surface.""",
+ )
+ label.pack()
+- self.fl_group.pack(fill = 'both', expand = 1, padx = 4, pady = 5, side=TOP)
++ #self.fl_group.pack(fill = 'both', expand = 1, padx = 4, pady = 5, side=TOP)
++ self.fl_group.grid(padx = 4, pady = 5, sticky=(N, S, E, W))
+
+ self.pi_group = Pmw.Group(self.interior(),tag_text='Positive Isosurface')
+ self.pi_buttonbox = Pmw.ButtonBox(self.pi_group.interior(), padx=0)
+@@ -2243,7 +2259,8 @@
+ entryfield_validate = {'validator' : 'real', 'min':0}
+ )
+ self.pos_surf_val.pack(side=LEFT)
+- self.pi_group.pack(fill = 'both', expand = 1, padx = 4, pady = 5, side=LEFT)
++ #self.pi_group.pack(fill = 'both', expand = 1, padx = 4, pady = 5, side=LEFT)
++ self.pi_group.grid(padx = 4, pady = 5, sticky=(N, S, E, W))
+
+ self.ni_group = Pmw.Group(self.interior(),tag_text='Negative Isosurface')
+ self.ni_buttonbox = Pmw.ButtonBox(self.ni_group.interior(), padx=0)
+@@ -2262,7 +2279,8 @@
+ entryfield_validate = {'validator' : 'real', 'max':0}
+ )
+ self.neg_surf_val.pack(side=LEFT)
+- self.ni_group.pack(fill = 'both', expand = 1, padx = 4, pady = 5, side=LEFT)
++ #self.ni_group.pack(fill = 'both', expand = 1, padx = 4, pady = 5, side=LEFT)
++ self.ni_group.grid(padx = 4, pady = 5, sticky=(N, S, E, W))
+
+
+
diff --git a/sci-chemistry/pymol-apbs-plugin/metadata.xml b/sci-chemistry/pymol-apbs-plugin/metadata.xml
index dde7ca88a50f..ae9ec7c5f6a4 100644
--- a/sci-chemistry/pymol-apbs-plugin/metadata.xml
+++ b/sci-chemistry/pymol-apbs-plugin/metadata.xml
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
-<herd>sci-chemistry</herd>
-<maintainer>
- <email>jlec@gentoo.org</email>
-</maintainer>
+ <herd>sci-chemistry</herd>
+ <maintainer>
+ <email>jlec@gentoo.org</email>
+ </maintainer>
</pkgmetadata>
diff --git a/sci-chemistry/pymol-apbs-plugin/pymol-apbs-plugin-2.1_p26.ebuild b/sci-chemistry/pymol-apbs-plugin/pymol-apbs-plugin-2.1_p26.ebuild
new file mode 100644
index 000000000000..142666b98ae0
--- /dev/null
+++ b/sci-chemistry/pymol-apbs-plugin/pymol-apbs-plugin-2.1_p26.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/pymol-apbs-plugin/pymol-apbs-plugin-2.1_p26.ebuild,v 1.1 2013/11/22 13:38:23 jlec Exp $
+
+EAPI=5
+
+PYTHON_COMPAT=( python{2_6,2_7} )
+
+inherit eutils python-r1
+
+MY_PV="${PV##*_p}"
+
+DESCRIPTION="APBS plugin for pymol"
+HOMEPAGE="http://sourceforge.net/projects/pymolapbsplugin/"
+SRC_URI="http://sourceforge.net/p/pymolapbsplugin/code/${MY_PV}/tree/trunk/src/apbsplugin.py?format=raw -> ${P}.py"
+
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux"
+LICENSE="pymol"
+IUSE=""
+
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+RDEPEND="
+ ${PYTHON_DEPS}
+ sci-chemistry/apbs
+ sci-chemistry/pdb2pqr
+ !<sci-chemistry/pymol-1.2.2-r1"
+DEPEND="${RDEPEND}"
+
+src_unpack() {
+ mkdir "${S}"
+ cp "${DISTDIR}"/${P}.py "${S}"/
+}
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-tcltk8.6.patch
+ python_copy_sources
+}
+
+src_install() {
+ installation() {
+ cd "${BUILD_DIR}" || die
+ sed \
+ -e "s:^APBS_BINARY_LOCATION.*:APBS_BINARY_LOCATION = \"${EPREFIX}/usr/bin/apbs\":g" \
+ -e "s:^APBS_PSIZE_LOCATION.*:APBS_PSIZE_LOCATION = \"${EPREFIX}/$(python_get_sitedir)/pdb2pqr/src/\":g" \
+ -e "s:^APBS_PDB2PQR_LOCATION.*:APBS_PDB2PQR_LOCATION = \"${EPREFIX}/$(python_get_sitedir)/pdb2pqr/\":g" \
+ -e "s:^TEMPORARY_FILE_DIR.*:TEMPORARY_FILE_DIR = \"./\":g" \
+ ${P}.py > apbs_tools.py
+
+ python_moduleinto pmg_tk/startup
+ python_domodule apbs_tools.py || die
+ python_optimize
+ }
+ python_parallel_foreach_impl installation
+}