python-cached-property: drop package

This commit is contained in:
Đoàn Trần Công Danh 2020-09-20 23:09:08 +07:00
parent 8d69efa87f
commit cfa6f97bff
3 changed files with 18 additions and 32 deletions

View file

@ -1,31 +0,0 @@
# Template file for 'python-cached-property'
pkgname=python-cached-property
version=1.5.1
revision=2
archs=noarch
wrksrc="cached-property-${version}"
build_style=python-module
pycompile_module="cached_property.py"
hostmakedepends="python-setuptools python3-setuptools"
depends="python"
short_desc="Decorator for caching properties in classes (Python2)"
maintainer="Alessio Sergi <al3hex@gmail.com>"
homepage="https://github.com/pydanny/cached-property"
license="BSD-3-Clause"
distfiles="${PYPI_SITE}/c/cached-property/cached-property-${version}.tar.gz"
checksum=9217a59f14a5682da7c4b8829deadbfc194ac22e9908ccf7c8820234e80a1504
post_install() {
vlicense LICENSE
}
python3-cached-property_package() {
archs=noarch
depends="python3"
pycompile_module="cached_property.py"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3*
vlicense LICENSE
}
}

View file

@ -1 +0,0 @@
python-cached-property

View file

@ -0,0 +1,18 @@
# Template file for 'python3-cached-property'
pkgname=python3-cached-property
version=1.5.1
revision=3
wrksrc="cached-property-${version}"
build_style=python3-module
hostmakedepends="python3-setuptools"
depends="python3"
short_desc="Decorator for caching properties in classes (Python3)"
maintainer="Orphaned <orphan@voidlinux.org>"
license="BSD-3-Clause"
homepage="https://github.com/pydanny/cached-property"
distfiles="${PYPI_SITE}/c/cached-property/cached-property-${version}.tar.gz"
checksum=9217a59f14a5682da7c4b8829deadbfc194ac22e9908ccf7c8820234e80a1504
post_install() {
vlicense LICENSE
}