diff options
author | Ian Delaney <idella4@gentoo.org> | 2014-11-16 22:54:28 +0000 |
---|---|---|
committer | Ian Delaney <idella4@gentoo.org> | 2014-11-16 22:54:28 +0000 |
commit | 6dd8521b1d7a9352b74b521f09579ba7953802e0 (patch) | |
tree | efeba6bd70a457da54903dbff6ba73721a940ccc /dev-python/atom | |
parent | Replace fixlocalpod with perl_delete_localpod (diff) | |
download | gentoo-2-6dd8521b1d7a9352b74b521f09579ba7953802e0.tar.gz gentoo-2-6dd8521b1d7a9352b74b521f09579ba7953802e0.tar.bz2 gentoo-2-6dd8521b1d7a9352b74b521f09579ba7953802e0.zip |
new dep to ets' package enaml, ebuild written by me
(Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key 0xB8072B0D)
Diffstat (limited to 'dev-python/atom')
-rw-r--r-- | dev-python/atom/ChangeLog | 9 | ||||
-rw-r--r-- | dev-python/atom/Manifest | 3 | ||||
-rw-r--r-- | dev-python/atom/atom-0.3.10.ebuild | 50 | ||||
-rw-r--r-- | dev-python/atom/metadata.xml | 5 |
4 files changed, 67 insertions, 0 deletions
diff --git a/dev-python/atom/ChangeLog b/dev-python/atom/ChangeLog new file mode 100644 index 000000000000..6ce02e056f7a --- /dev/null +++ b/dev-python/atom/ChangeLog @@ -0,0 +1,9 @@ +# ChangeLog for dev-python/atom +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/atom/ChangeLog,v 1.1 2014/11/16 22:54:28 idella4 Exp $ + +*atom-0.3.10 (16 Nov 2014) + + 16 Nov 2014; Ian Delaney <idella4@gentoo.org> +atom-0.3.10.ebuild, + +metadata.xml: + new dep to ets' package enaml, ebuild written by me diff --git a/dev-python/atom/Manifest b/dev-python/atom/Manifest new file mode 100644 index 000000000000..070081d232dc --- /dev/null +++ b/dev-python/atom/Manifest @@ -0,0 +1,3 @@ +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 +MISC metadata.xml 160 SHA256 6cd954a9de2307c57d32b25fa3599dee2908a4ddc6a98594f593d53577307a3a SHA512 7c02a1de1ddcb6b7c6378cceff0458da3a15d5381417f7cdf01874e7c372664b8899863f41b3a2fd8d6ad67ceb732dac6da0cc17575bf8e3e6d89480417c6628 WHIRLPOOL ed2795e4466eda8c804d5067c87386e269a59fe959393057ca5ddc36851e00f5210c4da1adf4bbdfdbb7d1d3d5c60aced25727ca12fdc8305d9e263a3aca9b13 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 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>python</herd> +</pkgmetadata> |