python-wrapt: drop package

This commit is contained in:
Đoàn Trần Công Danh 2020-09-28 23:01:19 +07:00
parent 13135c7d70
commit f28ad72e03
3 changed files with 18 additions and 29 deletions

View file

@ -1,28 +0,0 @@
# Template file for 'python-wrapt'
pkgname=python-wrapt
version=1.11.2
revision=2
wrksrc="wrapt-${version}"
build_style=python-module
pycompile_module="wrapt"
hostmakedepends="python-setuptools python3-setuptools"
makedepends="python-devel python3-devel"
short_desc="Python2 module for decorators, wrappers and monkey patching"
maintainer="Alessio Sergi <al3hex@gmail.com>"
license="BSD-2-Clause"
homepage="https://github.com/GrahamDumpleton/wrapt"
distfiles="${PYPI_SITE}/w/wrapt/wrapt-${version}.tar.gz"
checksum=565a021fd19419476b9362b05eeaa094178de64f8361e44468f9e9d7843901e1
post_install() {
vlicense LICENSE
}
python3-wrapt_package() {
pycompile_module="wrapt"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3*
vlicense LICENSE
}
}

View file

@ -1 +0,0 @@
python-wrapt

View file

@ -0,0 +1,18 @@
# Template file for 'python3-wrapt'
pkgname=python3-wrapt
version=1.11.2
revision=3
wrksrc="wrapt-${version}"
build_style=python3-module
hostmakedepends="python3-setuptools"
makedepends="python3-devel"
short_desc="Python3 module for decorators, wrappers and monkey patching"
maintainer="Orphaned <orphan@voidlinux.org>"
license="BSD-2-Clause"
homepage="https://github.com/GrahamDumpleton/wrapt"
distfiles="${PYPI_SITE}/w/wrapt/wrapt-${version}.tar.gz"
checksum=565a021fd19419476b9362b05eeaa094178de64f8361e44468f9e9d7843901e1
post_install() {
vlicense LICENSE
}