Summary: | [NEW EBUILD] sci-chemistry/hkl2map-0.2 new ebuild | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Justin Lecher (RETIRED) <jlec> |
Component: | New packages | Assignee: | 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)
![]() Created attachment 142834 [details]
sci-chemistry/hkl2map-0.2.ebuild
sci-chemistry/hkl2map-0.2.ebuild
> # 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 > } (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 > > } > Created attachment 144432 [details]
hkl2map-0.2.ebuild
Same binary-package changes as on other bugs.. keywording, package name, DEPEND="" Created attachment 146025 [details]
hkl2map-bin-0.2.ebuild
Fixed it.
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... No response for six weeks. Resolving... |