mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-07-29 10:18:08 -07:00
dev-python/pockets: Initial addition to the tree
This commit is contained in:
1
dev-python/pockets/Manifest
Normal file
1
dev-python/pockets/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST pockets-0.3.tar.gz 20441 SHA256 5c9682eeb5b66fbbb69187ad51a4c3a8eb07b6e2718455a04703f7ff5d5f84be SHA512 da208b541aa4e0884e37a7d128d11d1d99fac22f10e5dbc88065487265aca8ca348286c0d0214dae657af824cca08f0585c70abc27be25f4c54040cd44a3e44c WHIRLPOOL 7ea2618aae4a919a9f5a68bc0f96a41743f924eb252788097b18a5c9ecb26bb8419e4f114e18fbe51dafdbcd0fa4ebcf517db9a958ea02ed2c53edd298234b84
|
||||
11
dev-python/pockets/files/no_installed_tests.patch
Normal file
11
dev-python/pockets/files/no_installed_tests.patch
Normal file
@@ -0,0 +1,11 @@
|
||||
--- setup.py.orig 2016-08-03 16:30:08.093499589 +0200
|
||||
+++ setup.py 2016-08-03 16:30:40.861165597 +0200
|
||||
@@ -39,7 +39,7 @@
|
||||
'Topic :: Utilities',
|
||||
],
|
||||
platforms='any',
|
||||
- packages=find_packages(),
|
||||
+ packages=["pockets"],
|
||||
install_requires=reqs,
|
||||
tests_require=test_reqs
|
||||
)
|
||||
9
dev-python/pockets/metadata.xml
Normal file
9
dev-python/pockets/metadata.xml
Normal file
@@ -0,0 +1,9 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>klausman@gentoo.org</email>
|
||||
<name>Tobias Klausmann</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
||||
|
||||
37
dev-python/pockets/pockets-0.3.ebuild
Normal file
37
dev-python/pockets/pockets-0.3.ebuild
Normal file
@@ -0,0 +1,37 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python2_7 python3_{3,4,5} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
IUSE="test"
|
||||
|
||||
DESCRIPTION="A collection of helpful Python tools"
|
||||
HOMEPAGE="https://pypi.python.org/pypi/pockets"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
DEPEND="
|
||||
>=dev-python/six-1.5.2[${PYTHON_USEDEP}]
|
||||
dev-python/sphinx[${PYTHON_USEDEP}]
|
||||
>=dev-python/coverage-3.7.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/flake8-2.3.0[${PYTHON_USEDEP}]
|
||||
test? ( >=dev-python/pytest-2.6.4[${PYTHON_USEDEP}]
|
||||
dev-python/nose[${PYTHON_USEDEP}]
|
||||
)
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
|
||||
"
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}/no_installed_tests.patch" || die
|
||||
}
|
||||
python_test() {
|
||||
nosetests tests || die "tests failed with ${EPYTHON}"
|
||||
}
|
||||
Reference in New Issue
Block a user