dev-python/promise: version bump.
authorPatrice Clement <monsieurp@gentoo.org>
Tue, 31 Jul 2018 07:58:59 +0000 (09:58 +0200)
committerPatrice Clement <monsieurp@gentoo.org>
Tue, 31 Jul 2018 08:00:46 +0000 (10:00 +0200)
Package-Manager: Portage-2.3.40, Repoman-2.3.9

dev-python/promise/Manifest
dev-python/promise/promise-2.1.ebuild [new file with mode: 0644]

index e0cb7609c29a8d6af66ba91d03c83b33491aecc8..760c730bbfadbdbcc540b9796dffff33a6f99683 100644 (file)
@@ -1 +1,2 @@
 DIST promise-0.4.2.tar.gz 7309 BLAKE2B 8d08c3985c6410d2b684bc27e300f4e5df620d3e035e127010a15ce2d774365f621eb4c3525b4422295d38cd62b5fcef2135758dd331d5769a86eca26ee378f7 SHA512 e3f0bd3dddfe3a304cb51d857418c8b8993f6e97c1a9e64622438869952174275ef4631259d5e6f090bfb39d4a2fd6bca8fe50ada5bb8ccea19ff726adcde7fd
+DIST promise-2.1.tar.gz 17974 BLAKE2B 5e1fc9bbed3af51812c43b1c13006037ada44404564a3064cb2e39657f6bb5dc0fec6d052ae9038439c60339fd4f4b5fa97330571398bf84243805b25ead94e8 SHA512 d4d5628c9b75f81fdb5d654a76e788df5296472cd73bcb8fd9a27979b8aadeb1d40a4d52cfed173341a5a97920132b00cee44d915ef640167127a249b5c0cac0
diff --git a/dev-python/promise/promise-2.1.ebuild b/dev-python/promise/promise-2.1.ebuild
new file mode 100644 (file)
index 0000000..e9a2866
--- /dev/null
@@ -0,0 +1,26 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python{3_4,3_5} )
+
+DISTUTILS_SINGLE_IMPL=1
+
+inherit distutils-r1
+
+DESCRIPTION="Bytecode optimisation using staticness assertions"
+HOMEPAGE="https://github.com/rfk/promise/ https://pypi.org/project/promise/"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+
+DEPEND="test? ( dev-python/nose[${PYTHON_USEDEP}] )"
+RDEPEND="${PYTHON_DEPS}"
+
+python_test() {
+        nosetests -v || die
+}