summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCédric Krier <cedk@gentoo.org>2017-07-16 17:44:35 +0200
committerCédric Krier <cedk@gentoo.org>2017-07-16 17:46:16 +0200
commit7b6e13d6c900bbbc8cfaf976c4946c8fcdbfeb5b (patch)
tree14fccd3d3f479e83d0f89f33dee02dd9dcf0d079
parentsys-kernel/gentoo-sources: Linux patch 4.4.77 (diff)
downloadgentoo-7b6e13d6c900bbbc8cfaf976c4946c8fcdbfeb5b.tar.gz
gentoo-7b6e13d6c900bbbc8cfaf976c4946c8fcdbfeb5b.tar.bz2
gentoo-7b6e13d6c900bbbc8cfaf976c4946c8fcdbfeb5b.zip
dev-python/stripe: Version bumps to 1.62.0 and add test
Package-Manager: Portage-2.3.6, Repoman-2.3.1
-rw-r--r--dev-python/stripe/Manifest2
-rw-r--r--dev-python/stripe/stripe-1.62.0.ebuild (renamed from dev-python/stripe/stripe-1.55.1.ebuild)16
2 files changed, 13 insertions, 5 deletions
diff --git a/dev-python/stripe/Manifest b/dev-python/stripe/Manifest
index 2271453e341..1aae0fde51a 100644
--- a/dev-python/stripe/Manifest
+++ b/dev-python/stripe/Manifest
@@ -1 +1 @@
-DIST stripe-1.55.1.tar.gz 189588 SHA256 4fd5e60a7cd3311fbcc53ffc2cfa27501438ec96d58139ede1550d87b24fd7e2 SHA512 067f1d998901b862b2d47e4597504f5b180872b62217deae19cc7a81799e4562db54e37b34d431a9d2171e8c7ce8b8a43a2e55ac1a60e1198f15eb63620f812e WHIRLPOOL dad2b7208a49824a1af1eab2efe61c344af40a3fca130f94b4f406582716b954f9d09ecabe0f77d0e955cdac7283cbc66ef6253aed1ecb685396f6b1ac7f502e
+DIST stripe-1.62.0.tar.gz 190349 SHA256 03136c5ce8fad86e265629daf4adae9dc6e1a44b6e4a08e731783764bf970fb8 SHA512 b90b96c3d76dfddc39659dbbf055da3d93cdbeb600267fceb4fa6f82b4f993e63f9da9bc49373fd3fbe4db575d214a333169f19fc30bbc4563a6451f29dcf8ca WHIRLPOOL cca3861360d2ec0408c57a45e45d4e3a77f23c29f71ab6a72380d043fcd237785b05766d2fcff95799716f8c54d048fe0577aeef4e4744a7e254aff3823eb86e
diff --git a/dev-python/stripe/stripe-1.55.1.ebuild b/dev-python/stripe/stripe-1.62.0.ebuild
index 6a21a480282..67403320587 100644
--- a/dev-python/stripe/stripe-1.55.1.ebuild
+++ b/dev-python/stripe/stripe-1.62.0.ebuild
@@ -13,10 +13,18 @@ SRC_URI="mirror://pypi/s/${PN}/${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
-IUSE=""
+IUSE="test"
-DEPEND=""
-RDEPEND="${DEPEND}
- dev-python/requests"
+RDEPEND=">=dev-python/requests-0.8.8"
+DEPEND="${RDEPEND}
+ test? (
+ dev-python/unittest2
+ dev-python/mock
+ dev-python/pycurl
+ )"
DOCS="LONG_DESCRIPTION.rst"
+
+python_test() {
+ ${PYTHON:-python} -Wall setup.py test || die
+}