diff options
-rw-r--r-- | sci-chemistry/bkchem/ChangeLog | 7 | ||||
-rw-r--r-- | sci-chemistry/bkchem/bkchem-0.14.0_pre2.ebuild | 36 |
2 files changed, 42 insertions, 1 deletions
diff --git a/sci-chemistry/bkchem/ChangeLog b/sci-chemistry/bkchem/ChangeLog index b23850e50a5a..8939e41ef03a 100644 --- a/sci-chemistry/bkchem/ChangeLog +++ b/sci-chemistry/bkchem/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for sci-chemistry/bkchem # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/bkchem/ChangeLog,v 1.5 2010/07/11 16:58:10 jlec Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/bkchem/ChangeLog,v 1.6 2010/08/12 07:47:56 jlec Exp $ + +*bkchem-0.14.0_pre2 (12 Aug 2010) + + 12 Aug 2010; Justin Lecher <jlec@gentoo.org> +bkchem-0.14.0_pre2.ebuild: + Version BUmp 11 Jul 2010; Justin Lecher <jlec@gentoo.org> bkchem-0.14.0_pre1-r2.ebuild: Respecting USE=cairo and fix for prefix, thanks rei4dan for the patch diff --git a/sci-chemistry/bkchem/bkchem-0.14.0_pre2.ebuild b/sci-chemistry/bkchem/bkchem-0.14.0_pre2.ebuild new file mode 100644 index 000000000000..3ab19919ce50 --- /dev/null +++ b/sci-chemistry/bkchem/bkchem-0.14.0_pre2.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/bkchem/bkchem-0.14.0_pre2.ebuild,v 1.1 2010/08/12 07:47:56 jlec Exp $ + +EAPI="3" + +PYTHON_DEPEND="2" +PYTHON_USE_WITH="tk" + +inherit distutils eutils versionator + +MY_P="${PN}-$(replace_version_separator 3 -)" + +DESCRIPTION="Chemical drawing program" +HOMEPAGE="http://bkchem.zirael.org/" +SRC_URI="http://bkchem.zirael.org/download/${MY_P}.tar.gz" + +SLOT="0" +KEYWORDS="~amd64 ~x86" +LICENSE="GPL-2" +IUSE="cairo" + +DEPEND="cairo? ( dev-python/pycairo[svg] )" +RDEPEND="${DEPEND}" + +S="${WORKDIR}"/${MY_P} + +pkg_setup() { + python_set_active_version 2 +} + +src_install() { + distutils_src_install "--strip=${D%/}" + sed "s:^python:$(PYTHON):g" -i "${ED}"/usr/bin/${PN} || die + make_desktop_entry "${EPREFIX}"/usr/bin/bkchem BKChem "${EPREFIX}"/usr/share/${PN}/images/${PN}.png +} |