32 lines
858 B
Bash
32 lines
858 B
Bash
# 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
|
|
}
|
|
}
|