New package: python-importlib_metadata-1.12.0

This commit is contained in:
Doan Tran Cong Danh 2019-12-15 10:23:53 +07:00 committed by Juan RP
parent a2515b15f2
commit 1c8eaed94f
2 changed files with 12 additions and 2 deletions

View file

@ -0,0 +1 @@
python3-importlib_metadata

View file

@ -4,8 +4,9 @@ version=1.2.0
revision=1
archs=noarch
wrksrc="importlib_metadata-${version}"
build_style=python3-module
hostmakedepends="python3-setuptools"
build_style=python-module
pycompile_module=importlib_metadata
hostmakedepends="python-setuptools python3-setuptools"
depends="python3-zipp"
checkdepends="${depends}"
short_desc="Read metadata from Python packages"
@ -15,3 +16,11 @@ homepage="https://importlib-metadata.readthedocs.io/en/latest/"
changelog="https://importlib-metadata.readthedocs.io/en/latest/changelog%20(links).html"
distfiles="${PYPI_SITE}/i/importlib_metadata/importlib_metadata-${version}.tar.gz"
checksum=41e688146d000891f32b1669e8573c57e39e5060e7f5f647aa617cd9a9568278
python-importlib_metadata_package() {
depends=python-zipp
short_desc="${short_desc/Python/Python 2/}"
pkg_install() {
vmove "usr/lib/python2.7"
}
}