mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-07-25 21:08:35 -07:00
dev-python/mongoengine: Clean old up
This commit is contained in:
@@ -1,2 +1 @@
|
||||
DIST mongoengine-0.10.6.tar.gz 469469 BLAKE2B 3930126d64e1b43d579412069da33a96e6c525d459905d05f677a406a262a15e16d8f6460637c253ace4addbe07655d194fede19fe050f4628aa17dbb6115038 SHA512 a8d16739892c64ed408afab49c6d33a4b438af83e003844caa101cd51366038ba75121d12b4385a546cf4d946a506bc11f173355f6855e740cef9fddfd6437e7
|
||||
DIST mongoengine-0.8.3.tar.gz 219978 BLAKE2B cf19e8baa6945a0a79e777544361df555e6da848f9479f44e5c52e5f8a2331fcf2b01fbc547e1e1a5ec96ffd50485cb04cc46cb59ac0372109b56bd0021a7c3c SHA512 b77c36ae008fb31f26a60135fbba3a9cf08375506a760daa3fe9e2558a6c67f4ea769eccf7c472c9ddef900fe50548aca00a81d0e666b007398b31cb4d32e368
|
||||
|
||||
@@ -1,32 +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
|
||||
|
||||
RESTRICT="test" # connects to local DB and other nonsense
|
||||
|
||||
DESCRIPTION="A Python Object-Document-Mapper for working with MongoDB"
|
||||
HOMEPAGE="https://github.com/MongoEngine/mongoengine/"
|
||||
SRC_URI="https://github.com/MongoEngine/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND=""
|
||||
DEPEND="${RDEPEND}
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
dev-python/pymongo[${PYTHON_USEDEP}]
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
sed -i -e 's/tests/tests*/g' setup.py || die "Failed to fix test removal thingy"
|
||||
}
|
||||
|
||||
python_test() {
|
||||
nosetests || die "Testing failed with ${EPYTHON}"
|
||||
}
|
||||
Reference in New Issue
Block a user