python3-importlib_metadata: drop package
importlib_metadata is backport of Python 3.8's standard library for older Python. We've upgraded to Python 3.8, drop it. See: https://importlib-metadata.readthedocs.io/en/latest/
This commit is contained in:
parent
4b4dcde168
commit
933034d763
|
@ -1 +0,0 @@
|
||||||
python3-importlib_metadata
|
|
|
@ -1,13 +1,13 @@
|
||||||
# Template file for 'python3-importlib_metadata'
|
# Template file for 'python-importlib_metadata'
|
||||||
pkgname=python3-importlib_metadata
|
pkgname=python-importlib_metadata
|
||||||
version=1.2.0
|
version=1.2.0
|
||||||
revision=3
|
revision=3
|
||||||
archs=noarch
|
archs=noarch
|
||||||
wrksrc="importlib_metadata-${version}"
|
wrksrc="importlib_metadata-${version}"
|
||||||
build_style=python-module
|
build_style=python2-module
|
||||||
hostmakedepends="python-setuptools python3-setuptools"
|
hostmakedepends="python-setuptools"
|
||||||
depends="python3-zipp"
|
depends="python-zipp"
|
||||||
checkdepends="${depends} python3-packaging"
|
checkdepends="${depends}"
|
||||||
short_desc="Read metadata from Python packages"
|
short_desc="Read metadata from Python packages"
|
||||||
maintainer="Piotr Wójcik <chocimier@tlen.pl>"
|
maintainer="Piotr Wójcik <chocimier@tlen.pl>"
|
||||||
license="Apache-2.0"
|
license="Apache-2.0"
|
||||||
|
@ -15,15 +15,3 @@ homepage="https://importlib-metadata.readthedocs.io/en/latest/"
|
||||||
changelog="https://importlib-metadata.readthedocs.io/en/latest/changelog%20(links).html"
|
changelog="https://importlib-metadata.readthedocs.io/en/latest/changelog%20(links).html"
|
||||||
distfiles="${PYPI_SITE}/i/importlib_metadata/importlib_metadata-${version}.tar.gz"
|
distfiles="${PYPI_SITE}/i/importlib_metadata/importlib_metadata-${version}.tar.gz"
|
||||||
checksum=41e688146d000891f32b1669e8573c57e39e5060e7f5f647aa617cd9a9568278
|
checksum=41e688146d000891f32b1669e8573c57e39e5060e7f5f647aa617cd9a9568278
|
||||||
|
|
||||||
do_check() {
|
|
||||||
python3 setup.py test
|
|
||||||
}
|
|
||||||
|
|
||||||
python-importlib_metadata_package() {
|
|
||||||
depends="python-zipp python-backports.configparser python-contextlib2"
|
|
||||||
short_desc="${short_desc/Python/Python 2/}"
|
|
||||||
pkg_install() {
|
|
||||||
vmove "usr/lib/python2.7"
|
|
||||||
}
|
|
||||||
}
|
|
Loading…
Reference in New Issue