dev-python/atom: Drop old

Bug: https://bugs.gentoo.org/649100
Package-Manager: Portage-2.3.31, Repoman-2.3.9
This commit is contained in:
Andreas Sturmlechner
2018-04-25 21:45:50 +02:00
parent c5227ab38a
commit 9d67aaff60
2 changed files with 0 additions and 50 deletions

View File

@@ -1,2 +1 @@
DIST atom-0.3.10.zip 102102 BLAKE2B ed67aac137ed1ec983d45296756a6cd716201f412783287e2c054edae1d4ac25923fa53af832d77e5ec2c9ce4ee064d2be8013526e41b679235e5eeacccbf39f SHA512 ae22747f96e42b9cc4f7c92ddb7d7b8af647e17b917481cd267d4162bd9260b906a019a73de2ca6e3c72a9430dacd535001da7dcb809c1c3dc18c7297be14b76
DIST atom-0.4.1.tar.gz 65082 BLAKE2B 9f2f1fe4a910e69a083567472d1d442570b922e1aafd3a94ec55541b406d7fa876a5260193137f9de37b1c44fd97f95d0868fd345cc82e0c1c73683c149aa2e7 SHA512 95c5b5a78fb8466a78b8f983290e722d7f797ecbd9d149e37f2f52f0604c932bb747c791a4d16922535e0ef2c992c59021c2f695563d5a320a86538a6a80b958

View File

@@ -1,49 +0,0 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
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
}