diff options
author | 2018-03-03 09:54:13 +0100 | |
---|---|---|
committer | 2018-03-03 09:54:38 +0100 | |
commit | ce0bd8aadbe14ec22d0487ca41d249543a0f5679 (patch) | |
tree | 9aca346f6cd032644d24142552e6d39df7681e95 /sci-chemistry/bkchem/bkchem-0.14.0_pre2-r2.ebuild | |
parent | dev-ruby/rack-test: use correct version in gemspec and gem (diff) | |
download | gentoo-ce0bd8aadbe14ec22d0487ca41d249543a0f5679.tar.gz gentoo-ce0bd8aadbe14ec22d0487ca41d249543a0f5679.tar.bz2 gentoo-ce0bd8aadbe14ec22d0487ca41d249543a0f5679.zip |
sci-chemistry/bkchem: Fix dep on dev-python/pycairo
Fix the dependency on dev-python/pycairo not to reference the obsolete
'svg' flag.
Diffstat (limited to 'sci-chemistry/bkchem/bkchem-0.14.0_pre2-r2.ebuild')
-rw-r--r-- | sci-chemistry/bkchem/bkchem-0.14.0_pre2-r2.ebuild | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/sci-chemistry/bkchem/bkchem-0.14.0_pre2-r2.ebuild b/sci-chemistry/bkchem/bkchem-0.14.0_pre2-r2.ebuild new file mode 100644 index 000000000000..d6162080214b --- /dev/null +++ b/sci-chemistry/bkchem/bkchem-0.14.0_pre2-r2.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +PYTHON_COMPAT=( python2_7 ) + +PYTHON_REQ_USE="tk" + +inherit distutils-r1 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[${PYTHON_USEDEP}] )" +RDEPEND="${DEPEND}" + +S="${WORKDIR}"/${MY_P} + +PATCHES=( + "${FILESDIR}"/${P}-nolauncher.patch +) + +python_install() { + distutils-r1_python_install "--strip=${ED}/_${EPYTHON}" +} + +python_install_all() { + distutils-r1_python_install_all + python_foreach_impl python_newscript ${PN}/${PN}.py ${PN} + make_desktop_entry bkchem BKChem "${EPREFIX}"/usr/share/${PN}/images/${PN}.png Science +} |