python-zc.lockfile: drop package

This commit is contained in:
Đoàn Trần Công Danh 2020-09-20 13:15:01 +07:00
parent 02e4937e0b
commit d4e461d64d
3 changed files with 18 additions and 32 deletions

View file

@ -1,31 +0,0 @@
# Template file for 'python-zc.lockfile'
pkgname=python-zc.lockfile
version=2.0
revision=2
archs=noarch
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 <xgit@lonw.net>"
license="ZPL-2.1"
homepage="https://github.com/zopefoundation/zc.lockfile"
distfiles="${PYPI_SITE}/z/zc.lockfile/zc.lockfile-${version}.tar.gz"
checksum=307ad78227e48be260e64896ec8886edc7eae22d8ec53e4d528ab5537a83203b
post_install() {
vlicense LICENSE.txt LICENSE
}
python3-zc.lockfile_package() {
archs=noarch
pycompile_module="zc/lockfile"
depends="python3-setuptools"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3*
vlicense LICENSE.txt LICENSE
}
}

View file

@ -1 +0,0 @@
python-zc.lockfile

View file

@ -0,0 +1,18 @@
# Template file for 'python3-zc.lockfile'
pkgname=python3-zc.lockfile
version=2.0
revision=3
wrksrc="${pkgname#*-}-${version}"
build_style=python3-module
hostmakedepends="python3-setuptools"
depends="python3-setuptools"
short_desc="Basic inter-process locks (Python3)"
maintainer="Lon Willett <xgit@lonw.net>"
license="ZPL-2.1"
homepage="https://github.com/zopefoundation/zc.lockfile"
distfiles="${PYPI_SITE}/z/zc.lockfile/zc.lockfile-${version}.tar.gz"
checksum=307ad78227e48be260e64896ec8886edc7eae22d8ec53e4d528ab5537a83203b
post_install() {
vlicense LICENSE.txt LICENSE
}