Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 209160

Summary: [NEW EBUILD] sci-chemistry/hkl2map-0.2 new ebuild
Product: Gentoo Linux Reporter: Justin Lecher (RETIRED) <jlec>
Component: New packagesAssignee: Default Assignee for New Packages <maintainer-wanted>
Status: RESOLVED WONTFIX    
Severity: enhancement CC: sci-chemistry
Priority: High Keywords: EBUILD
Version: unspecified   
Hardware: All   
OS: Linux   
URL: http://schneider.group.ifom-ieo-campus.it/hkl2map/index.html
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: sci-chemistry/hkl2map-0.2.ebuild
hkl2map-0.2.ebuild
hkl2map-bin-0.2.ebuild

Description Justin Lecher (RETIRED) gentoo-dev 2008-02-06 16:13:25 UTC
http://schneider.group.ifom-ieo-campus.it/hkl2map/index.html

Should be available for protein structure science (XRAY)

Perhaps the science overlay.

Reproducible: Always
Comment 1 Justin Lecher (RETIRED) gentoo-dev 2008-02-06 16:14:48 UTC
Created attachment 142834 [details]
sci-chemistry/hkl2map-0.2.ebuild

sci-chemistry/hkl2map-0.2.ebuild
Comment 2 Donnie Berkholz (RETIRED) gentoo-dev 2008-02-22 19:58:50 UTC
> # Copyright 1999-2008 Gentoo Foundation
> # Distributed under the terms of the GNU General Public License v2
> # $Header: $
>
> inherit eutils
>
> DESCRIPTION="HKL2MAP is a graphical user-interface for macromolecular phasing."
> SRC_URI="${P}.tgz
>                script? ( http://schneider.group.ifom-ieo-campus.it/hkl2map/phs2mtz )"

If phs2mtz isn't versioned, we should probably mirror it ourselves (assuming the license lets us), otherwise we should force them to fetch it and rename it (phs2mtz-20080222, e.g.).

> HOMEPAGE="http://schneider.group.ifom-ieo-campus.it/hkl2map/index.html"
> RESTRICT="fetch"
> LICENSE="GPL-2"

Eh?

> SLOT="0"
> KEYWORDS="x86"

Shouldn't be stable.

> IUSE="script"
> RDEPEND="sci-chemistry/shelx
>                >=dev-lang/tk-8.3
>                >=dev-lang/tcl-8.3

tk probably takes care of tcl.

>                script? ( sci-chemistry/ccp4 )"
> DEPEND="${RDEPEND}"

Really? Why would it have build-time dependencies?

>
> pkg_nofetch(){
>         einfo "Please visit:"
>         einfo "\thttp://schneider.group.ifom-ieo-campus.it/hkl2map/index.html"
>         einfo
>         einfo "Complete the registration process, then download the following files:"
>         einfo "\t${A}"
>         einfo
>         einfo "Place the downloaded files in your distfiles directory:"
>         einfo "\t${DISTDIR}"
> }
>
> src_unpack(){
>       unpack ${P}.tgz
>       if use script;then
>               cp ${DISTDIR}/phs2mtz ${WORKDIR}/
>       fi
> }
>
> src_install() {
>       exeinto "/usr/bin"
>       newexe hkl2map-0.2-dist hkl2map

This is just tcl/tk scripts rather than a downloaded binary, right?

>       if use script; then
>               doexe ${WORKDIR}/phs2mtz
>       fi
> }
>
> pkg_postinst(){
>       echo
>       einfo "If you use HKL2MAP in you work, please cite the following publication:"
>       echo
>       einfo "Thomas Pape & Thomas R. Schneider"
>       einfo "HKL2MAP: a graphical user interface for phasing with SHELX programs"
>       einfo "J. Appl. Cryst. 37:843-844 (2004)."
>       echo
> }
Comment 3 Justin Lecher (RETIRED) gentoo-dev 2008-02-23 17:50:07 UTC
(In reply to comment #2)
> > # Copyright 1999-2008 Gentoo Foundation
> > # Distributed under the terms of the GNU General Public License v2
> > # $Header: $
> >
> > inherit eutils
> >
> > DESCRIPTION="HKL2MAP is a graphical user-interface for macromolecular phasing."
> > SRC_URI="${P}.tgz
> >                script? ( http://schneider.group.ifom-ieo-campus.it/hkl2map/phs2mtz )"
> 
> If phs2mtz isn't versioned, we should probably mirror it ourselves (assuming
> the license lets us), otherwise we should force them to fetch it and rename it
> (phs2mtz-20080222, e.g.).
There is no license, just some copyright notice in the header ((C) Thomas R. Schneider, 22-Oct-2004). If Mr. Schneider takes care by setting the date, we probably should it rename to phs2mtz-20041022.
> 
> > HOMEPAGE="http://schneider.group.ifom-ieo-campus.it/hkl2map/index.html"
> > RESTRICT="fetch"
> > LICENSE="GPL-2"
> 
> Eh?
That's a good questions, but I got no answer for that. Changed!
> 
> > SLOT="0"
> > KEYWORDS="x86"
> 
> Shouldn't be stable.
Right! Can't say more, but I can learn!
> 
> > IUSE="script"
> > RDEPEND="sci-chemistry/shelx
> >                >=dev-lang/tk-8.3
> >                >=dev-lang/tcl-8.3
> 
> tk probably takes care of tcl.
Yes.
> 
> >                script? ( sci-chemistry/ccp4 )"
> > DEPEND="${RDEPEND}"
> 
> Really? Why would it have build-time dependencies?
Because I am still learning and thought DEPEND and RDEPEND have to be always set.
> 
> >
> > pkg_nofetch(){
> >         einfo "Please visit:"
> >         einfo "\thttp://schneider.group.ifom-ieo-campus.it/hkl2map/index.html"
> >         einfo
> >         einfo "Complete the registration process, then download the following files:"
> >         einfo "\t${A}"
> >         einfo
> >         einfo "Place the downloaded files in your distfiles directory:"
> >         einfo "\t${DISTDIR}"
> > }
> >
> > src_unpack(){
> >       unpack ${P}.tgz
> >       if use script;then
> >               cp ${DISTDIR}/phs2mtz ${WORKDIR}/
> >       fi
> > }
> >
> > src_install() {
> >       exeinto "/usr/bin"
> >       newexe hkl2map-0.2-dist hkl2map
> 
> This is just tcl/tk scripts rather than a downloaded binary, right?
what means?
> 
> >       if use script; then
> >               doexe ${WORKDIR}/phs2mtz
> >       fi
> > }
> >
> > pkg_postinst(){
> >       echo
> >       einfo "If you use HKL2MAP in you work, please cite the following publication:"
> >       echo
> >       einfo "Thomas Pape & Thomas R. Schneider"
> >       einfo "HKL2MAP: a graphical user interface for phasing with SHELX programs"
> >       einfo "J. Appl. Cryst. 37:843-844 (2004)."
> >       echo
> > }
> 

Comment 4 Justin Lecher (RETIRED) gentoo-dev 2008-02-23 17:56:21 UTC
Created attachment 144432 [details]
hkl2map-0.2.ebuild
Comment 5 Donnie Berkholz (RETIRED) gentoo-dev 2008-03-13 06:01:58 UTC
Same binary-package changes as on other bugs.. keywording, package name, DEPEND=""
Comment 6 Justin Lecher (RETIRED) gentoo-dev 2008-03-13 15:24:44 UTC
Created attachment 146025 [details]
hkl2map-bin-0.2.ebuild

Fixed it.
Comment 7 Andreas K. Hüttel archtester gentoo-dev 2010-10-30 11:49:33 UTC
No comments have been made on this bug report for some time.
Is anyone still interested in integration of this package? 

If yes, please indicate that here in this bug report.

Otherwise we'll resolve the bug in the near future, since we have 
an extremely large number of pending package requests and would like
to focus...

Comment 8 Andreas K. Hüttel archtester gentoo-dev 2010-12-16 16:00:28 UTC
No response for six weeks. Resolving...