Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 249933 - sci-chemistry/pdb-extract version bump to 3.004
Summary: sci-chemistry/pdb-extract version bump to 3.004
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Gentoo Chemistry-Related Packages
URL: http://sw-tools.pdb.org/apps/PDB_EXTR...
Whiteboard: [SCI OVERLAY]
Keywords: EBUILD, InOverlay
Depends on:
Blocks: 246255
  Show dependency tree
 
Reported: 2008-12-05 14:09 UTC by Justin Lecher (RETIRED)
Modified: 2009-12-04 02:53 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
/mnt/tmpfs/pdb-extract.ebuild.diff (pdb-extract.ebuild.diff,1.92 KB, text/plain)
2008-12-05 14:09 UTC, Justin Lecher (RETIRED)
Details
files/respect-cflags-and-fix-install.patch (respect-cflags-and-fix-install.patch,6.85 KB, text/plain)
2008-12-05 14:10 UTC, Justin Lecher (RETIRED)
Details
files/pdb-extract-3.004-gcc-4.3.patch (pdb-extract-3.004-gcc-4.3.patch,573 bytes, text/plain)
2008-12-05 14:11 UTC, Justin Lecher (RETIRED)
Details
files/pdb-extract-3.004-Makefile.patch (pdb-extract-3.004-Makefile.patch,1.47 KB, text/plain)
2008-12-05 14:11 UTC, Justin Lecher (RETIRED)
Details
files/pdb-extract-3.004-env.patch (pdb-extract-3.004-env.patch,501 bytes, text/plain)
2008-12-05 17:02 UTC, Justin Lecher (RETIRED)
Details
/mnt/tmpfs/pdb-extract-3.004-r1.ebuild.diff (pdb-extract-3.004-r1.ebuild.diff,2.17 KB, text/plain)
2008-12-05 17:04 UTC, Justin Lecher (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Justin Lecher (RETIRED) gentoo-dev 2008-12-05 14:09:27 UTC
As discussed in bug 246255 there is a version bump which is needed. I suggest following ebuild and patches. Please test and report issues.
Comment 1 Justin Lecher (RETIRED) gentoo-dev 2008-12-05 14:09:49 UTC
Created attachment 174315 [details]
/mnt/tmpfs/pdb-extract.ebuild.diff

dif to the new ebuild
Comment 2 Justin Lecher (RETIRED) gentoo-dev 2008-12-05 14:10:44 UTC
Created attachment 174316 [details]
files/respect-cflags-and-fix-install.patch

respect-cflags-and-fix-install.patch
Comment 3 Justin Lecher (RETIRED) gentoo-dev 2008-12-05 14:11:11 UTC
Created attachment 174318 [details]
files/pdb-extract-3.004-gcc-4.3.patch

pdb-extract-3.004-gcc-4.3.patch
Comment 4 Justin Lecher (RETIRED) gentoo-dev 2008-12-05 14:11:31 UTC
Created attachment 174319 [details]
files/pdb-extract-3.004-Makefile.patch

pdb-extract-3.004-Makefile.patch
Comment 5 Justin Lecher (RETIRED) gentoo-dev 2008-12-05 17:02:29 UTC
After testing I found out that when not having ccp4 installed there is a problem with env variables. Therefor I suggest following patch.
Comment 6 Justin Lecher (RETIRED) gentoo-dev 2008-12-05 17:02:56 UTC
Created attachment 174336 [details]
files/pdb-extract-3.004-env.patch

pdb-extract-3.004-env.patch
Comment 7 Justin Lecher (RETIRED) gentoo-dev 2008-12-05 17:04:56 UTC
Created attachment 174337 [details]
/mnt/tmpfs/pdb-extract-3.004-r1.ebuild.diff

pdb-extract-3.004-r1.ebuild.diff
Comment 8 Wormo (RETIRED) gentoo-dev 2008-12-06 07:30:25 UTC
Thanks for working on this needed version bump. Assigning to maintainers.
Comment 9 David Kredba 2008-12-26 20:40:58 UTC
It will be great to have working sci-chemistry/validation after the version bump, thank you.
Comment 10 Justin Lecher (RETIRED) gentoo-dev 2008-12-26 20:57:54 UTC
(In reply to comment #9)
> It will be great to have working sci-chemistry/validation after the version
> bump, thank you.
> 

Please open an extra bug for this.
Comment 11 Martin Mokrejš 2009-01-03 20:28:16 UTC
Justin, would you please make sure the bin/extract is renamed to say pdb-extract filename?

# equery belongs /usr/bin/extract
[ Searching for file(s) /usr/bin/extract in *... ]
sci-chemistry/pdb-extract-1.700 (/usr/bin/extract)
app-crypt/pkcrack-1.2.2 (/usr/bin/extract)
app-text/html-xml-utils-3.7 (/usr/bin/extract)
#

The /usr/bin/connect is also asking for a trouble but is not used by another package on my computer (which does not mean it is safe). I would say rename both to pdb-$oldfilename.
Comment 12 Justin Lecher (RETIRED) gentoo-dev 2009-01-04 12:13:04 UTC
Sure I have seen this problem too.
BUT:
The package already contains a second exec which is named pdb_extract.
All scripts which you can found for this packages use the executables in this order "extract --> pdb_extract --> pdb_extract_sf".

I will think about a solution, because there are some more packages, also the same topic related, which contain a extract exec.
Comment 13 Martin Mokrejš 2009-03-11 17:46:33 UTC
For completeness, currently the ebuild sci-chemistry/pdb-extract-3.004 in overlay does:

/usr/bin/extract-pdb
/usr/bin/pdb_extract
/usr/bin/pdb_extract_sf

I do not know why no -r1 exists yet.
Comment 14 Justin Lecher (RETIRED) gentoo-dev 2009-03-11 17:57:59 UTC
I removed all attachments in favour of the files which are in the overlay.
http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=tree;f=sci-chemistry/pdb-extract;h=c6f4760b9a756c7e4287913f03ab7e28d8ca894c;hb=HEAD

As Martin pointed out the extract binary is renamed to extract-pdb. We have to discuss if this is the best renaming, or we should block the other packages and push their devs to rename. Reason: our package is often used in scripts.
Comment 15 Justin Lecher (RETIRED) gentoo-dev 2009-03-11 18:01:04 UTC
(In reply to comment #13)
> For completeness, currently the ebuild sci-chemistry/pdb-extract-3.004 in
> overlay does:
> 
> /usr/bin/extract-pdb
> /usr/bin/pdb_extract
> /usr/bin/pdb_extract_sf
> 
> I do not know why no -r1 exists yet.
> 
was a working revision from my private overlay. I merged it into the base revision. Sorry for not doing the bump with the renaming.
Comment 16 Martin Mokrejš 2009-03-11 18:40:38 UTC
I have never used the extract (now extract-pdb), how about pdb_extract_wrapper?
Or you want pdb_extract_script? See http://sw-tools.rcsb.org/apps/PDB_EXTRACT/documentation.html#script
Comment 17 Justin Lecher (RETIRED) gentoo-dev 2009-03-11 22:28:51 UTC
All those renaming are bad by the same argument.

html-xml-utils conflict solved in overlay.
Comment 18 Markus Dittrich (RETIRED) gentoo-dev 2009-12-04 02:53:28 UTC
I've added 3.004 to the main tree.

Thanks a lot for the hard work!

cheers,
Markus