python-lazy-object-proxy: drop package

This commit is contained in:
Đoàn Trần Công Danh 2020-09-30 22:08:28 +07:00
parent 0c674ac05b
commit 2c599263d0
3 changed files with 22 additions and 29 deletions

View file

@ -1,28 +0,0 @@
# Template file for 'python-lazy-object-proxy'
pkgname=python-lazy-object-proxy
version=1.4.3
revision=2
wrksrc="lazy-object-proxy-${version}"
build_style=python-module
pycompile_module="lazy_object_proxy"
hostmakedepends="python-setuptools python3-setuptools"
makedepends="python-devel python3-devel"
short_desc="Fast and thorough lazy object proxy (Python2)"
maintainer="Alessio Sergi <al3hex@gmail.com>"
license="BSD-2-Clause"
homepage="https://github.com/ionelmc/python-lazy-object-proxy"
distfiles="${PYPI_SITE}/l/lazy-object-proxy/lazy-object-proxy-${version}.tar.gz"
checksum=f3900e8a5de27447acbf900b4750b0ddfd7ec1ea7fbaf11dfa911141bc522af0
post_install() {
vlicense LICENSE
}
python3-lazy-object-proxy_package() {
pycompile_module="lazy_object_proxy"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3*
vlicense LICENSE
}
}

View file

@ -1 +0,0 @@
python-lazy-object-proxy

View file

@ -0,0 +1,22 @@
# Template file for 'python3-lazy-object-proxy'
pkgname=python3-lazy-object-proxy
version=1.4.3
revision=3
wrksrc="lazy-object-proxy-${version}"
build_style=python3-module
hostmakedepends="python3-setuptools"
makedepends="python3-devel"
short_desc="Fast and thorough lazy object proxy (Python3)"
maintainer="Orphaned <orphan@voidlinux.org>"
license="BSD-2-Clause"
homepage="https://github.com/ionelmc/python-lazy-object-proxy"
distfiles="${PYPI_SITE}/l/lazy-object-proxy/lazy-object-proxy-${version}.tar.gz"
checksum=f3900e8a5de27447acbf900b4750b0ddfd7ec1ea7fbaf11dfa911141bc522af0
post_patch() {
vsed -i '/setuptools_scm/d' setup.cfg
}
post_install() {
vlicense LICENSE
}