summaryrefslogtreecommitdiff
path: root/dev-python/testresources
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-python/testresources
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-python/testresources')
-rw-r--r--dev-python/testresources/Manifest7
-rw-r--r--dev-python/testresources/metadata.xml26
-rw-r--r--dev-python/testresources/testresources-0.2.7-r2.ebuild37
-rw-r--r--dev-python/testresources/testresources-1.0.0.ebuild37
4 files changed, 107 insertions, 0 deletions
diff --git a/dev-python/testresources/Manifest b/dev-python/testresources/Manifest
new file mode 100644
index 000000000000..b7698fea3142
--- /dev/null
+++ b/dev-python/testresources/Manifest
@@ -0,0 +1,7 @@
+DIST testresources-0.2.7.tar.gz 32050 SHA256 ad0a117383dd463827b199eaa92829b4d6a3147fbd97459820df53bae81d7231 SHA512 29518f7326272c56a5f2f3f1f7741959dde9265ba5ce7e0c7d7afabd91bd44a519d1cad82a11a41944ff12d65e541536476f87afcac9a7cbb4869743a38547b7 WHIRLPOOL c414223960fbd6a1c612d2c79c8b8956ab858aaaa76331ddefb1315dbdd6c6bc1d3a7641c098d7d558b332ee8f4262d8921240adb63f581a3127da6a617dc200
+DIST testresources-1.0.0.tar.gz 44501 SHA256 e9b2c70ecade3135629e66945a7ac19c6df18c59b3d8f02e95d24bc8e066c7cf SHA512 7c9f9cbcc62066ab4a75d68780d88925484eeee23e2e0ef0395b63ec2a92968a6969d1bd6f483945e32ff5566e686b426f2f37daf4f803d2ef779032ea97cc6b WHIRLPOOL f4a390df289f4e452e197b58cc6df2a162a5843d64ba03fc3a6918c1f0b6124ee9c98e3e08bbb4c8780344749a7e961a4482a005e7b2e23359ecc56f6cef8192
+EBUILD testresources-0.2.7-r2.ebuild 954 SHA256 548635f947c963aa0971237f38973bff10869411c29832c4926f9529022fa62b SHA512 3de787fc7370be231f24129457eb4bbec638daa164cf5cf38b9f1515b333537735c43904ff06ebd70d04c5fc1600450d35aa910e84e235480eb618d39cbc7b98 WHIRLPOOL e00e6dce39f03e9351c703777d885f227b35dead6e2e75800150c439d907ecb2bb30acf51e5c26ec1a906e898c77df0149367db0eb8bedec5f602660b0fef95e
+EBUILD testresources-1.0.0.ebuild 960 SHA256 37ccf0fb038a710c8d206546471322ba7d796bbfd135e60e23d7962405c5cd00 SHA512 4d28c3846a1b5146c9ba2402e28b1605b407d42fbdbb7b24f9061e69560039fbc7ab1c9f96fcf5b5ad1217e2a98d66621a9d258a9ed73234dd71a316b962be4c WHIRLPOOL 31e39c033bc04344df123527c4984cc626d9a5cdd8e6273fd292e830fa0a1f0573ce3b4c4d0a6ac37fe1a1460be7351e83885043b6f476d94186376fcaec7f92
+MISC ChangeLog 4696 SHA256 8447acae742d291d2aa532375f140cdbe5b674ef9cafd0028c25044beab69369 SHA512 fb42e4909692bc9bef830a04ab25a32c210340d7f5889974a1fd23ac9722188412b3b2f7c2b5a0c1603ea68e59ac43911d3717dd500962f22116b97005b3f564 WHIRLPOOL a42621d5ced2a6bda40a970c4aedbe35c07c91eb71ee42636b083ac497252fb9a2185367e86dec911e153f06150ebed4dd3469ec07bd9933aba00ef0d02074d9
+MISC ChangeLog-2015 3454 SHA256 aeaae1ee96d4ff3bdfa33b317c7e225f87d9c20c58db23d7008026e88540f8a8 SHA512 73dcf2cb33b0406070c6df48738e50aa5d84d922be19146e606a3927eddd892e3f717d68b0102079d5b23d3257f8dbcbbb011647a9a25844ddc21e4a59c0f0c9 WHIRLPOOL 1e803307ae8988ab93a23fe87be006ca3b33e38b515566744846207932f61281ec3c6028eb595463bf0111640b2cd46c736001817384dbd8036a30de810268ec
+MISC metadata.xml 939 SHA256 d2cf13507d9c768b3406ad0d4b25d7cf290ebbdaf6b158a7b03b23730770d01a SHA512 5962ed430ea8163666e9cf360a456e48b38bcba0b85466d01a54fe4d2aacfde98484d4c0740f5ec29393d6291ab14c4da897976201667d22c76ffa56aac402c5 WHIRLPOOL 2b38b57a2ca7b135b6a18efd3413c419c4c503d5e07c7484dce66d7a0c2aeb38bf36504c0eeca17aae3a6e552401b527b325325a5a69526e0b6100afa0064c57
diff --git a/dev-python/testresources/metadata.xml b/dev-python/testresources/metadata.xml
new file mode 100644
index 000000000000..3e43e714ce9f
--- /dev/null
+++ b/dev-python/testresources/metadata.xml
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>prometheanfire@gentoo.org</email>
+ <name>Matthew Thode</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>openstack@gentoo.org</email>
+ <name>Openstack</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>python@gentoo.org</email>
+ <name>Python</name>
+ </maintainer>
+ <longdescription lang="en">
+ Testresources extends unittest with a clean and simple api to provide test
+ optimisation where expensive common resources are needed for test cases
+ for example sample working trees for VCS systems, reference databases for
+ enterprise applications, or web servers ... let imagination run wild.
+ </longdescription>
+ <upstream>
+ <remote-id type="pypi">testresources</remote-id>
+ <remote-id type="launchpad">testresources</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-python/testresources/testresources-0.2.7-r2.ebuild b/dev-python/testresources/testresources-0.2.7-r2.ebuild
new file mode 100644
index 000000000000..ee255ec08960
--- /dev/null
+++ b/dev-python/testresources/testresources-0.2.7-r2.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy pypy3 )
+
+inherit distutils-r1
+
+DESCRIPTION="A pyunit extension for managing expensive test resources"
+HOMEPAGE="https://launchpad.net/testresources"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-linux ~x86-linux"
+IUSE="test"
+
+DEPEND="
+ dev-python/setuptools[${PYTHON_USEDEP}]
+ test? (
+ dev-python/nose[${PYTHON_USEDEP}]
+ dev-python/testtools[${PYTHON_USEDEP}]
+ dev-python/fixtures[${PYTHON_USEDEP}]
+ )"
+RDEPEND=""
+
+python_prepare_all() {
+ sed \
+ -e 's:testBasicSortTests:_&:g' \
+ -i lib/testresources/tests/test_optimising_test_suite.py || die
+ distutils-r1_python_prepare_all
+}
+
+python_test() {
+ nosetests --verbose || die "Tests failed under ${EPYTHON}"
+}
diff --git a/dev-python/testresources/testresources-1.0.0.ebuild b/dev-python/testresources/testresources-1.0.0.ebuild
new file mode 100644
index 000000000000..255cfc70b5da
--- /dev/null
+++ b/dev-python/testresources/testresources-1.0.0.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy pypy3 )
+
+inherit distutils-r1
+
+DESCRIPTION="A pyunit extension for managing expensive test resources"
+HOMEPAGE="https://launchpad.net/testresources"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux"
+IUSE="test"
+
+DEPEND="
+ dev-python/setuptools[${PYTHON_USEDEP}]
+ test? (
+ dev-python/nose[${PYTHON_USEDEP}]
+ dev-python/testtools[${PYTHON_USEDEP}]
+ dev-python/fixtures[${PYTHON_USEDEP}]
+ )"
+RDEPEND=""
+
+python_prepare_all() {
+ sed \
+ -e 's:testBasicSortTests:_&:g' \
+ -i testresources/tests/test_optimising_test_suite.py || die
+ distutils-r1_python_prepare_all
+}
+
+python_test() {
+ nosetests --verbose || die "Tests failed under ${EPYTHON}"
+}