From: Ian Delaney Date: Sun, 16 Nov 2014 22:54:57 +0000 (+0000) Subject: new dep to ets' package enaml, ebuild written by me X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=cb5e84d71aa2dfcc9be7d204501e51a57c75e8ff;p=gentoo.git new dep to ets' package enaml, ebuild written by me Package-Manager: portage-2.2.14/cvs/Linux x86_64 Manifest-Sign-Key: 0xB8072B0D --- diff --git a/dev-python/atom/Manifest b/dev-python/atom/Manifest index 070081d232dc..5c056fd22a1d 100644 --- a/dev-python/atom/Manifest +++ b/dev-python/atom/Manifest @@ -1,3 +1,14 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA256 + DIST atom-0.3.10.zip 102102 SHA256 461ffb57ff9448242b66e08d367f9c65bfd9bf04215591e7e9580f289139debf SHA512 ae22747f96e42b9cc4f7c92ddb7d7b8af647e17b917481cd267d4162bd9260b906a019a73de2ca6e3c72a9430dacd535001da7dcb809c1c3dc18c7297be14b76 WHIRLPOOL 23a39d1dddb6c42850925244a8d6da1f589690e7c73416773e954f9ee74665e75c9686f5517af93711a226f828364b483497a98bbf054e4c97f75178ff77adce -EBUILD atom-0.3.10.ebuild 1250 SHA256 ba3ade59c1144fc662c396ca9a7fe179dc20f297bc1736de569efd17b9357d27 SHA512 8ab5fedbbe700db0e6c6e668a716684d8c2ec0e6fc2fdbad83b96dad9c3d83b9253c9aad8ceeda38535cd7dc50a3392e9e8eb120815bd54675e24a05e7750b9b WHIRLPOOL 53a1c8949048a0290b7a9da8709422ac7ecae107a95e6ed22105967b479e25232b55fcb3af83be9e2ca0bba0450680b3b937ccc92dd877e021133c45fd6c4316 +EBUILD atom-0.3.10.ebuild 1347 SHA256 0d65b0ad4cb2bae038c299ff5e7ddc8eac1dc936b32053acd25b58c052f7c54f SHA512 859aa4e8b74f1fc83596eafac8b7bef47119117ca7349e6ed232ccd0957fb75e88c3cbb15befbc88d51d05b0c50ab1c1b4050a08c1b45b74dd1097e8f1093c3b WHIRLPOOL a30891e786e52d4ab7b0b7f09e7e95772c38a544122a5305a97a882328970bfc170e63368b103f7b0e5fa8c5e268053378ff9bb3ba32f29534c8656c3628739f +MISC ChangeLog 372 SHA256 66c68de00fc0d24898582ce46e6255acbf17cfd127273697726287e916197ac1 SHA512 bc8c9d0051448e74824e758e53cbddfa61afb525e66e286d2d69a7b0527e97e9d31c14d56415bd081e226edf13be546a2f38578e9a94286211f21d0ca4ee5d5f WHIRLPOOL 9c7ba54cd434bdce13d379dccecfa4693ab4178f96e8c8ad17974c0445655295c19c206045245ca4f0459987f6e57c21cbdb2c1a9283e443d9e5a750d8bab448 MISC metadata.xml 160 SHA256 6cd954a9de2307c57d32b25fa3599dee2908a4ddc6a98594f593d53577307a3a SHA512 7c02a1de1ddcb6b7c6378cceff0458da3a15d5381417f7cdf01874e7c372664b8899863f41b3a2fd8d6ad67ceb732dac6da0cc17575bf8e3e6d89480417c6628 WHIRLPOOL ed2795e4466eda8c804d5067c87386e269a59fe959393057ca5ddc36851e00f5210c4da1adf4bbdfdbb7d1d3d5c60aced25727ca12fdc8305d9e263a3aca9b13 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2 + +iEYEAREIAAYFAlRpKzcACgkQso7CE7gHKw31RwCggEO6yGYhUb2xTb8G6rGGc6xC +96cAoMvuOuxLJN8LPI53stNh9Zr7VgI4 +=4+V+ +-----END PGP SIGNATURE----- diff --git a/dev-python/atom/atom-0.3.10.ebuild b/dev-python/atom/atom-0.3.10.ebuild new file mode 100644 index 000000000000..5b417a9589af --- /dev/null +++ b/dev-python/atom/atom-0.3.10.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/atom/atom-0.3.10.ebuild,v 1.1 2014/11/16 22:54:28 idella4 Exp $ + +EAPI=5 +PYTHON_COMPAT=( python2_7 ) + +inherit distutils-r1 flag-o-matic + +DESCRIPTION="Memory efficient Python objects" +HOMEPAGE="https://github.com/nucleic/atom" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.zip" + +LICENSE="Clear-BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="examples test" + +RDEPEND="" +DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] + app-arch/unzip + test? ( dev-python/nose[${PYTHON_USEDEP}] )" + +python_prepare_all() { + # Required to avoid file collisions at install + sed -e "s:find_packages():find_packages(exclude=['tests']):" -i setup.py || die + + # Reset from use of local paths + if use test; then + sed -e 's:from .catom:from catom:g' -i ${PN}/*.py || die + fi + + append-flags -fno-strict-aliasing + + distutils-r1_python_prepare_all +} + +python_test() { + PYTHONPATH="${BUILD_DIR}"/lib:"${BUILD_DIR}"/lib/${PN} \ + nosetests || die "Tests failed" + pushd "${BUILD_DIR}"/lib > /dev/null + # Change the state back to original ready for installing + sed -e 's:from catom:from .catom:g' -i ${PN}/*.py + popd > /dev/null +} + +python_install_all() { + use examples && local EXAMPLES=( examples/. ) + distutils-r1_python_install_all +} diff --git a/dev-python/atom/metadata.xml b/dev-python/atom/metadata.xml new file mode 100644 index 000000000000..301d2207cc29 --- /dev/null +++ b/dev-python/atom/metadata.xml @@ -0,0 +1,5 @@ + + + + python +