summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo Chatzimichos <tampakrap@gentoo.org>2013-06-27 22:19:41 +0000
committerTheo Chatzimichos <tampakrap@gentoo.org>2013-06-27 22:19:41 +0000
commitef31b9c7b13f8f5a727c4048c79e93373bc52462 (patch)
treec248dd550a7adc3b59ad6ac461fe1647f85fdec5
parentUse filename pointers to give a meaningful name to the tarball. (diff)
downloadgentoo-2-ef31b9c7b13f8f5a727c4048c79e93373bc52462.tar.gz
gentoo-2-ef31b9c7b13f8f5a727c4048c79e93373bc52462.tar.bz2
gentoo-2-ef31b9c7b13f8f5a727c4048c79e93373bc52462.zip
version bump, use `python setup.py test` to run the tests
(Portage version: 2.2.0_alpha166/cvs/Linux x86_64, signed Manifest commit with key 0x57DC0078)
-rw-r--r--dev-python/edpwd/ChangeLog8
-rw-r--r--dev-python/edpwd/edpwd-0.0.7.ebuild (renamed from dev-python/edpwd/edpwd-0.0.4.ebuild)15
2 files changed, 14 insertions, 9 deletions
diff --git a/dev-python/edpwd/ChangeLog b/dev-python/edpwd/ChangeLog
index 5ca709b9b0b9..5e7dce036449 100644
--- a/dev-python/edpwd/ChangeLog
+++ b/dev-python/edpwd/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-python/edpwd
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/edpwd/ChangeLog,v 1.1 2013/06/23 16:46:38 tampakrap Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/edpwd/ChangeLog,v 1.2 2013/06/27 22:19:41 tampakrap Exp $
+
+*edpwd-0.0.7 (27 Jun 2013)
+
+ 27 Jun 2013; Theo Chatzimichos <tampakrap@gentoo.org> +edpwd-0.0.7.ebuild,
+ -edpwd-0.0.4.ebuild:
+ version bump, use `python setup.py test` to run the tests
*edpwd-0.0.4 (23 Jun 2013)
diff --git a/dev-python/edpwd/edpwd-0.0.4.ebuild b/dev-python/edpwd/edpwd-0.0.7.ebuild
index 6d139f56e1e6..39f2cf5e2a8e 100644
--- a/dev-python/edpwd/edpwd-0.0.4.ebuild
+++ b/dev-python/edpwd/edpwd-0.0.7.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/edpwd/edpwd-0.0.4.ebuild,v 1.1 2013/06/23 16:46:38 tampakrap Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/edpwd/edpwd-0.0.7.ebuild,v 1.1 2013/06/27 22:19:41 tampakrap Exp $
EAPI=5
PYTHON_COMPAT=( python{2_6,2_7} )
@@ -8,7 +8,7 @@ PYTHON_COMPAT=( python{2_6,2_7} )
inherit distutils-r1
DESCRIPTION="Encrypt/Decrypt Password Library that wraps up Blowfish"
-HOMEPAGE="http://pypi.python.org/pypi/edpwdi/"
+HOMEPAGE="http://pypi.python.org/pypi/edpwd/"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="BSD"
@@ -16,12 +16,11 @@ SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
-RDEPEND="dev-python/pycrypto"
+DEPEND=">=dev-python/setuptools-0.6.30[${PYTHON_USEDEP}]"
+RDEPEND="dev-python/pycrypto[${PYTHON_USEDEP}]"
python_test() {
- if "${PYTHON}" -m edpwd.tests; then
- einfo "Test passed under ${EPYTHON}"
- else
- die "Test failed under ${EPYTHON}"
- fi
+ set -- "${PYTHON}" setup.py test
+ echo "${@}"
+ "${@}" || die "Tests failed with ${EPYTHON}"
}