diff options
author | Justin Lecher <jlec@gentoo.org> | 2010-06-17 18:51:49 +0000 |
---|---|---|
committer | Justin Lecher <jlec@gentoo.org> | 2010-06-17 18:51:49 +0000 |
commit | 0fda24e97db051f565ea084e16b8171fa473901a (patch) | |
tree | 343a7eec1388cca5185bdef279dbbb79eee3f1d5 /sci-chemistry/bkchem | |
parent | Version bump for Gnome 2.30 (diff) | |
download | gentoo-2-0fda24e97db051f565ea084e16b8171fa473901a.tar.gz gentoo-2-0fda24e97db051f565ea084e16b8171fa473901a.tar.bz2 gentoo-2-0fda24e97db051f565ea084e16b8171fa473901a.zip |
New addition imported from sci oerlay, #95178
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Diffstat (limited to 'sci-chemistry/bkchem')
-rw-r--r-- | sci-chemistry/bkchem/ChangeLog | 10 | ||||
-rw-r--r-- | sci-chemistry/bkchem/bkchem-0.14.0_pre1.ebuild | 40 | ||||
-rw-r--r-- | sci-chemistry/bkchem/metadata.xml | 7 |
3 files changed, 57 insertions, 0 deletions
diff --git a/sci-chemistry/bkchem/ChangeLog b/sci-chemistry/bkchem/ChangeLog new file mode 100644 index 000000000000..0c661acf0657 --- /dev/null +++ b/sci-chemistry/bkchem/ChangeLog @@ -0,0 +1,10 @@ +# 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.1 2010/06/17 18:51:49 jlec Exp $ + +*bkchem-0.14.0_pre1 (17 Jun 2010) + + 17 Jun 2010; Justin Lecher <jlec@gentoo.org> +bkchem-0.14.0_pre1.ebuild, + +metadata.xml: + New addition imported from sci oerlay, #95178 + diff --git a/sci-chemistry/bkchem/bkchem-0.14.0_pre1.ebuild b/sci-chemistry/bkchem/bkchem-0.14.0_pre1.ebuild new file mode 100644 index 000000000000..30c838439a1c --- /dev/null +++ b/sci-chemistry/bkchem/bkchem-0.14.0_pre1.ebuild @@ -0,0 +1,40 @@ +# 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_pre1.ebuild,v 1.1 2010/06/17 18:51:49 jlec Exp $ + +EAPI="3" + +PYTHON_DEPEND="2" +PYTHON_USE_WITH="tk" + +inherit distutils 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="~x86 ~amd64" +LICENSE="GPL-2" +IUSE="cairo" + +DEPEND="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 "${D}"/usr/bin/${PN} || die +} + + + + + diff --git a/sci-chemistry/bkchem/metadata.xml b/sci-chemistry/bkchem/metadata.xml new file mode 100644 index 000000000000..d691b2482707 --- /dev/null +++ b/sci-chemistry/bkchem/metadata.xml @@ -0,0 +1,7 @@ +<?xml version="1.0" encoding="UTF-8"?> +<pkgmetadata> +<herd>sci-chemistry</herd> +<maintainer> + <email>jlec@gentoo.org</email> +</maintainer> +</pkgmetadata> |