python-pathtools: drop package

This commit is contained in:
Đoàn Trần Công Danh 2020-09-20 21:00:23 +07:00
parent 17e089ec61
commit c78e187315
3 changed files with 18 additions and 32 deletions

View file

@ -1,31 +0,0 @@
# Template file for 'python-pathtools'
pkgname=python-pathtools
version=0.1.2
revision=2
archs=noarch
wrksrc="pathtools-${version}"
build_style=python-module
pycompile_module="pathtools"
hostmakedepends="python-setuptools python3-setuptools"
depends="python"
short_desc="File system general utilities (Python2)"
maintainer="Maurizio Porrato <maurizio.porrato@gmail.com>"
homepage="https://github.com/gorakhargosh/pathtools"
license="MIT"
distfiles="${PYPI_SITE}/p/pathtools/pathtools-${version}.tar.gz"
checksum=7c35c5421a39bb82e58018febd90e3b6e5db34c5443aaaf742b3f33d4655f1c0
post_install() {
vlicense LICENSE
}
python3-pathtools_package() {
archs=noarch
pycompile_module="pathtools"
depends="python3"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3*
vlicense LICENSE
}
}

View file

@ -1 +0,0 @@
python-pathtools

View file

@ -0,0 +1,18 @@
# Template file for 'python3-pathtools'
pkgname=python3-pathtools
version=0.1.2
revision=3
wrksrc="pathtools-${version}"
build_style=python3-module
hostmakedepends="python3-setuptools"
depends="python3"
short_desc="File system general utilities (Python3)"
maintainer="Maurizio Porrato <maurizio.porrato@gmail.com>"
license="MIT"
homepage="https://github.com/gorakhargosh/pathtools"
distfiles="${PYPI_SITE}/p/pathtools/pathtools-${version}.tar.gz"
checksum=7c35c5421a39bb82e58018febd90e3b6e5db34c5443aaaf742b3f33d4655f1c0
post_install() {
vlicense LICENSE
}