dev-python/dill: Bump to 0.3.0
authorMichał Górny <mgorny@gentoo.org>
Sat, 29 Jun 2019 07:48:57 +0000 (09:48 +0200)
committerMichał Górny <mgorny@gentoo.org>
Sat, 29 Jun 2019 08:15:34 +0000 (10:15 +0200)
Closes: https://bugs.gentoo.org/676912
Signed-off-by: Michał Górny <mgorny@gentoo.org>
dev-python/dill/Manifest
dev-python/dill/dill-0.3.0.ebuild [new file with mode: 0644]

index 6651d0cc01c90196dc0d469a0ab8e6759afbd7c8..01a423bf80574bf2324d6b1840cca10f57d6098c 100644 (file)
@@ -1 +1,2 @@
 DIST dill-0.2.5.tgz 60572 BLAKE2B 43877e36cb62406b486f5619a54db0a4983f70b0a1712e39bcd77aa892fd17dc9ea774b85faa48441beaf993296a877249ff321fd0977a1317eeb25d0b020d80 SHA512 94942a736b4c2e1558eb9475f9bafe3a24f88a976abf9880beec386497a2bc769cb9be6bbfd2baac006c92578c372f5dfcfa165c5649876ea5076a3b207de6fc
+DIST dill-0.3.0.tar.gz 151375 BLAKE2B 11f22f18c5491633a2a3136d6993c59a1078d478f2e45d40e5a71fd9929527f4db98fe261d406c2cceb0cbafa277f620a17068123c73d85a44dc2252be138845 SHA512 d3e36716ec264fab2532264e82dedf2a0923ed11f2517b3df6e5576159d5701f336125e7967a37f4c80c37f60abf584b9f7cd4225ed68f942dca7af500c091cf
diff --git a/dev-python/dill/dill-0.3.0.ebuild b/dev-python/dill/dill-0.3.0.ebuild
new file mode 100644 (file)
index 0000000..2df94b7
--- /dev/null
@@ -0,0 +1,27 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+PYTHON_COMPAT=( python2_7 python3_{5,6,7} pypy )
+
+inherit distutils-r1
+
+DESCRIPTION="Serialize all of python (almost)"
+HOMEPAGE="https://pypi.org/project/dill/"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~ppc ~x86 ~amd64-linux ~x86-linux"
+IUSE=""
+
+python_test() {
+       local fail= t
+       for t in tests/test_*.py; do
+               ebegin "\t${t}"
+               "${EPYTHON}" "${t}"
+               eend || fail=1
+       done
+
+       [[ ${fail} ]] && die "Tests fail with ${EPYTHON}"
+}