New package: python-packaging-17.1

This commit is contained in:
Alessio Sergi 2018-03-26 19:42:00 +02:00
parent 86650ec0e9
commit 2bbc9ce74e
2 changed files with 32 additions and 0 deletions

View File

@ -0,0 +1,31 @@
# Template file for 'python-packaging'
pkgname=python-packaging
version=17.1
revision=1
noarch=yes
wrksrc="packaging-${version}"
build_style=python-module
pycompile_module="packaging"
hostmakedepends="python-setuptools python3-setuptools"
depends="python-parsing python-six"
short_desc="Core utilities for Python packages (Python2)"
maintainer="Alessio Sergi <al3hex@gmail.com>"
homepage="https://github.com/pypa/packaging"
license="Apache-2.0, BSD-2-Clause"
distfiles="${PYPI_SITE}/p/packaging/packaging-${version}.tar.gz"
checksum=f019b770dd64e585a99714f1fd5e01c7a8f11b45635aa953fd41c689a657375b
post_install() {
vlicense LICENSE
}
python3-packaging_package() {
noarch=yes
pycompile_module="packaging"
depends="python3-parsing python3-six"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3*
vlicense LICENSE
}
}

1
srcpkgs/python3-packaging Symbolic link
View File

@ -0,0 +1 @@
python-packaging