From 056574f1bcbca989b3aeb38db44373a9fed98a9b Mon Sep 17 00:00:00 2001 From: Lon Willett Date: Sat, 22 Sep 2018 11:42:07 +0200 Subject: [PATCH] New package: python-zc.lockfile-1.3.0 Dependency for python-CherryPy --- srcpkgs/python-zc.lockfile/template | 31 +++++++++++++++++++++++++++++ srcpkgs/python3-zc.lockfile | 1 + 2 files changed, 32 insertions(+) create mode 100644 srcpkgs/python-zc.lockfile/template create mode 120000 srcpkgs/python3-zc.lockfile diff --git a/srcpkgs/python-zc.lockfile/template b/srcpkgs/python-zc.lockfile/template new file mode 100644 index 00000000000..46d39e9f25a --- /dev/null +++ b/srcpkgs/python-zc.lockfile/template @@ -0,0 +1,31 @@ +# Template file for 'python-zc.lockfile' +pkgname=python-zc.lockfile +version=1.3.0 +revision=1 +noarch=yes +wrksrc="${pkgname#*-}-${version}" +build_style=python-module +pycompile_module="zc/lockfile" +hostmakedepends="python-setuptools python3-setuptools" +depends="python-setuptools" +short_desc="Basic inter-process locks (Python2)" +maintainer="Lon Willett " +homepage="https://github.com/zopefoundation/zc.lockfile" +license="ZPL-2.1" +distfiles="${PYPI_SITE}/z/zc.lockfile/zc.lockfile-${version}.tar.gz" +checksum=96cb13769e042988ea25d23d44cf09342ea0f887083d0f9736968f3617665853 + +post_install() { + vlicense LICENSE.txt LICENSE +} + +python3-zc.lockfile_package() { + noarch=yes + pycompile_module="zc/lockfile" + depends="python3-setuptools" + short_desc="${short_desc/Python2/Python3}" + pkg_install() { + vmove usr/lib/python3* + vlicense LICENSE.txt LICENSE + } +} diff --git a/srcpkgs/python3-zc.lockfile b/srcpkgs/python3-zc.lockfile new file mode 120000 index 00000000000..88d06c8baf8 --- /dev/null +++ b/srcpkgs/python3-zc.lockfile @@ -0,0 +1 @@ +python-zc.lockfile \ No newline at end of file