python-path: removed, not needed anymore
Resurrect it if needed.
This commit is contained in:
parent
5ecb896c7e
commit
5aa266d326
|
@ -1,40 +0,0 @@
|
||||||
# Template file for 'python-path'
|
|
||||||
pkgname=python-path
|
|
||||||
version=11.3.0
|
|
||||||
revision=1
|
|
||||||
noarch=yes
|
|
||||||
wrksrc="path.py-${version}"
|
|
||||||
build_style=python-module
|
|
||||||
pycompile_module="path.py"
|
|
||||||
hostmakedepends="python-setuptools python3-setuptools"
|
|
||||||
depends="python"
|
|
||||||
short_desc="Python2 module wrapper for os.path"
|
|
||||||
maintainer="Alessio Sergi <al3hex@gmail.com>"
|
|
||||||
homepage="https://github.com/jaraco/path.py"
|
|
||||||
license="MIT"
|
|
||||||
distfiles="${PYPI_SITE}/p/path.py/path.py-${version}.tar.gz"
|
|
||||||
checksum=57febc9af44cf550d6ae24a665d7a043d944cae8580a8109b991e0bd2767a4d9
|
|
||||||
|
|
||||||
pre_build() {
|
|
||||||
sed -e '/setuptools_scm/d' \
|
|
||||||
-e "s/use_scm_version=True,/version=\"${version}\",/" \
|
|
||||||
-i setup.py
|
|
||||||
|
|
||||||
# importlib_metadata is an optional dependency, but declared as required.
|
|
||||||
sed -i '/importlib_metadata/d' setup.py
|
|
||||||
sed -i "s/unknown/${version}/" path.py
|
|
||||||
}
|
|
||||||
post_install() {
|
|
||||||
vlicense LICENSE
|
|
||||||
}
|
|
||||||
|
|
||||||
python3-path_package() {
|
|
||||||
noarch=yes
|
|
||||||
depends="python3"
|
|
||||||
pycompile_module="path.py"
|
|
||||||
short_desc="${short_desc/Python2/Python3}"
|
|
||||||
pkg_install() {
|
|
||||||
vmove usr/lib/python3*
|
|
||||||
vlicense LICENSE
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -1 +0,0 @@
|
||||||
python-path
|
|
Loading…
Reference in New Issue
Block a user