summaryrefslogtreecommitdiff
path: root/dev-python/zc-lockfile
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/zc-lockfile')
-rw-r--r--dev-python/zc-lockfile/Manifest4
-rw-r--r--dev-python/zc-lockfile/zc-lockfile-1.4.ebuild1
-rw-r--r--dev-python/zc-lockfile/zc-lockfile-2.0.ebuild48
3 files changed, 52 insertions, 1 deletions
diff --git a/dev-python/zc-lockfile/Manifest b/dev-python/zc-lockfile/Manifest
index 6d63b8b8a44c..aa6b2faddfc7 100644
--- a/dev-python/zc-lockfile/Manifest
+++ b/dev-python/zc-lockfile/Manifest
@@ -1,3 +1,5 @@
DIST zc.lockfile-1.4.tar.gz 11075 BLAKE2B 4fcc18b4d337c1b102916588aef7271fe189f30e442b5d2180b5a20d804f84649d4bf9dc6f601e6b7ee38c4a436c3848b83cbcb1a19974acdf072347b6822b83 SHA512 f145c34088770b50002d1caa88876f9fb11f3b9810fe68b8e1a38d27084d27ce058883228469abb05811f3f11a7b94acdaad8392eb1b6c34c98ddc885cdf77be
-EBUILD zc-lockfile-1.4.ebuild 1088 BLAKE2B 0b195e7bb2288c97e3d4e4497220240d7b8dae57ec961bdc1255ad3dcb2138ee8536a73438d0476a237813a7cdf206427ced605e8894c14909d8dcd6a43f283f SHA512 746df39c6824bc401d9c93194bfb853244b79316bf78d8b74307756d00a8f731479d5a451f9a8d4e53cc43dacf2a9bc3ee611784dc0dd77166239a533c85d289
+DIST zc.lockfile-2.0.tar.gz 11923 BLAKE2B 7609f64eef4521f0aa95dc899b253570a317bd997cced00665a2dbe22cf7f834ce75daaf4fdf79520157dee31742758aad1844d49c5eccb780e7d5fd2e8e5ac5 SHA512 2586bafacb12540383695a24cb01fd284e61bfa3fcb16431ed0e91278e547c68983363fb69c1ffbd54f7c22db43300ba018ccd2fb3e21666c98860415b7a3c3b
+EBUILD zc-lockfile-1.4.ebuild 1115 BLAKE2B c1564a43598a48bbae6104e2690a8776310b509f65c4bcda59e55303c3b604105e5fb6ba9d52cfea83704301a9d2eabfd16d53c3116bda6deee677a107f3dc47 SHA512 f18757dbf48f52e71020b45cfafdca82e385d6bb2329944f1800888d5e2c8326cb6eecd3b101662d5ac551eba0ac2f662080267c85322137f1ca200a198a331f
+EBUILD zc-lockfile-2.0.ebuild 1044 BLAKE2B eec4bc7e439daf85d27249bc5642a9ec468b3e0e8bc53fb014a3a2d306f67b766f707c2568f4fdfb866e074c6d9416170c3aaf0cacb3d99736f38f58fc20f62f SHA512 bded0c8e19c965fffdc517f0c25e7f57adbcd94ddb2045b765e64862a8436812132213f6d60e79fd51926280695313a65c38e4a7f97ce3efd1c7c29d37060d63
MISC metadata.xml 248 BLAKE2B 5d9c3678c604aac0f24c5d5015e28f02b9ce83bb6a179755a44adeb3d69e4dd50be4acc30a6317649f5be23bcf13ac210bbe4712aa403e9c4cf2de351b39c941 SHA512 dc5b06a888be6367909895d5891a08189f4657bcee602e5ff0021be2ad3677e58ec7387ff244625be66a142138666e7eac790d2a7b1e298f0ad644725b5e57e0
diff --git a/dev-python/zc-lockfile/zc-lockfile-1.4.ebuild b/dev-python/zc-lockfile/zc-lockfile-1.4.ebuild
index 79e0ce90c734..fc3baf934bd3 100644
--- a/dev-python/zc-lockfile/zc-lockfile-1.4.ebuild
+++ b/dev-python/zc-lockfile/zc-lockfile-1.4.ebuild
@@ -17,6 +17,7 @@ LICENSE="ZPL"
SLOT="0"
KEYWORDS="~amd64 ~arm64"
IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND=">=dev-python/setuptools-3.3[${PYTHON_USEDEP}]"
DEPEND="${RDEPEND}
diff --git a/dev-python/zc-lockfile/zc-lockfile-2.0.ebuild b/dev-python/zc-lockfile/zc-lockfile-2.0.ebuild
new file mode 100644
index 000000000000..44e20f6b9d03
--- /dev/null
+++ b/dev-python/zc-lockfile/zc-lockfile-2.0.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+PYTHON_COMPAT=( python{2_7,3_{5,6,7,8}} pypy3 )
+
+inherit distutils-r1
+
+MY_PN="${PN/-/.}"
+MY_P=${MY_PN}-${PV}
+
+DESCRIPTION="Basic inter-process locks"
+HOMEPAGE="https://pypi.org/project/zc.lockfile/"
+SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
+
+LICENSE="ZPL"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~hppa ~ppc64 ~sparc"
+IUSE="test"
+
+RDEPEND=">=dev-python/setuptools-3.3[${PYTHON_USEDEP}]"
+DEPEND="${RDEPEND}
+ test? ( dev-python/zope-testing[${PYTHON_USEDEP}] )"
+
+S="${WORKDIR}"/${MY_P}
+
+DOCS=( CHANGES.rst README.rst )
+
+distutils_enable_tests nose
+
+# Prevent incorrect installation of data file
+python_prepare_all() {
+ sed -e '/^ include_package_data/d' -i setup.py || die
+ distutils-r1_python_prepare_all
+}
+
+python_install() {
+ distutils-r1_python_install
+
+ python_moduleinto zc
+ python_domodule src/zc/__init__.py
+}
+
+python_install_all() {
+ distutils-r1_python_install_all
+
+ find "${D}" -name '*.pth' -delete || die
+}