mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-07-30 10:38:07 -07:00
dev-python/google-apputils: Clean old up
This commit is contained in:
@@ -1,2 +1 @@
|
||||
DIST google-apputils-0.4.0.tar.gz 80014 BLAKE2B ec64417271a922d16dfcad4e0965c17d5dba558782c7c4c20537927fb0b3e34680180952a159f71577d36877c68f3c0b98482142eca9d160a945b49ee2171782 SHA512 5dbbf50e9551b33d882557ef9385c64691dcff6d6c219c9ff6aea2dc73c8af6d03392b3088fe1fb4000979e227830a0e437dc347520488627657085c8ea23f5e
|
||||
DIST google-apputils-0.4.2.tar.gz 81095 BLAKE2B d99c2fe8081616ee2891718fc3d00d00bcd703f694b9419bfc7aaebe75ba8cd0de12e8461dbc6459c1b7b88abf6e7af89972368c565565cb5dfb810938e4e1d2 SHA512 d7579ec461292bb01ad5b8e1b09e161c66af0e85361f43f6065b837c90bddb9711a2d56db2b73d780dc25945375d4dad2f646507512b9acfeefd517613feacd4
|
||||
|
||||
@@ -1,47 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="5"
|
||||
|
||||
PYTHON_COMPAT=( python2_7 ) # Doesn't yet support py3
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Collection of utilities for building Python applications"
|
||||
HOMEPAGE="https://github.com/google/google-apputils"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 arm ~arm64 ~ia64 ~m68k ~mips ~ppc64 ~s390 ~sh x86"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND="dev-python/python-dateutil[${PYTHON_USEDEP}]
|
||||
dev-python/python-gflags[${PYTHON_USEDEP}]
|
||||
dev-python/pytz[${PYTHON_USEDEP}]"
|
||||
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
test? ( ${RDEPEND}
|
||||
dev-python/mox[${PYTHON_USEDEP}] )"
|
||||
# version borders needed are already confluent with versions in the tree
|
||||
|
||||
src_unpack() {
|
||||
default
|
||||
chmod -R a+rX,u+w,g-w,o-w ${P} || die
|
||||
}
|
||||
|
||||
python_prepare_all() {
|
||||
# https://code.google.com/p/google-apputils-python/source/detail?r=12
|
||||
# This version bordering is long out of date and wrong since end of March 2012!
|
||||
sed -e 's:>=1.4,<2:>=1.4:' -i setup.py || die
|
||||
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_test() {
|
||||
# These yield 2 fails which are in fact expected errors run from a shell script!
|
||||
# They seemingly have no immediate mechanism to exit 0 in an expected fail style.
|
||||
for test in tests/{app_test*.py,[b-s]*.py}
|
||||
do
|
||||
"${PYTHON}" $test || die "test failure under ${EPYTHON}"
|
||||
done
|
||||
}
|
||||
Reference in New Issue
Block a user