summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2020-06-12 13:15:07 +0200
committerMichał Górny <mgorny@gentoo.org>2020-06-12 13:33:11 +0200
commit4a7ccba27682335abe4eb9bb4c3a4da69f452de5 (patch)
treec414d3417c606b0df7878b8f1f1ef99aee05e62f /dev-python/locket
parentdev-python/spur: New package, test-dep of dev-python/locket (diff)
downloadgentoo-4a7ccba27682335abe4eb9bb4c3a4da69f452de5.tar.gz
gentoo-4a7ccba27682335abe4eb9bb4c3a4da69f452de5.tar.bz2
gentoo-4a7ccba27682335abe4eb9bb4c3a4da69f452de5.zip
dev-python/locket: Enable tests, py3.9
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/locket')
-rw-r--r--dev-python/locket/Manifest1
-rw-r--r--dev-python/locket/locket-0.2.0-r1.ebuild25
2 files changed, 26 insertions, 0 deletions
diff --git a/dev-python/locket/Manifest b/dev-python/locket/Manifest
index 2bd775272cd5..ac79a63de3a5 100644
--- a/dev-python/locket/Manifest
+++ b/dev-python/locket/Manifest
@@ -1 +1,2 @@
DIST locket-0.2.0.tar.gz 3506 BLAKE2B 10f5c325036b5c0880c2b0261de180ee9d046ac346a64612d680170fad8664bcbd681954384bb6b9c4f812059b4418c618ee44f638ac6fc1c35b62786afe555c SHA512 ed9bb25f3fcaa70386217716db5612bf31a923c669cbdb8e871de6df4c0c42bf3309604a1aac804c0f334aed8c88b0ba113d8d265054c0e87793c7b53f729ff9
+DIST locket.py-0.2.0.gh.tar.gz 5598 BLAKE2B 9b8a1b3d4c3fed3e9ab8f37a1e7bd9d0aa65e618985368691802b1b66d0dbdeb7a1635ff72efec8a7351ce31ffc00413d5ee388e520057bf181a18a39ef46f0a SHA512 e5e5d34daf5c36b0ac4871ce0dec50c67b504be16755e38d7721e40c4f2c385c022c305ac1a9bd641ba9eaf45a2693a4a77b6fa6e95d6ae5ab34947e4ac30393
diff --git a/dev-python/locket/locket-0.2.0-r1.ebuild b/dev-python/locket/locket-0.2.0-r1.ebuild
new file mode 100644
index 000000000000..756579658915
--- /dev/null
+++ b/dev-python/locket/locket-0.2.0-r1.ebuild
@@ -0,0 +1,25 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+DISTUTILS_USE_SETUPTOOLS=no
+PYTHON_COMPAT=( python3_{6..9} )
+
+inherit distutils-r1
+
+MY_P=locket.py-${PV}
+DESCRIPTION="File-based locks for Python"
+HOMEPAGE="https://github.com/mwilliamson/locket.py"
+SRC_URI="
+ https://github.com/mwilliamson/locket.py/archive/${PV}.tar.gz
+ -> ${MY_P}.gh.tar.gz"
+S=${WORKDIR}/${MY_P}
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+
+BDEPEND="
+ test? ( dev-python/spur[${PYTHON_USEDEP}] )"
+
+distutils_enable_tests nose