ayaports/user/py3-pathvalidate/APKBUILD

28 lines
851 B
Text
Raw Normal View History

2023-01-10 19:12:28 +00:00
# Maintainer: Antoine Martin (ayakael) <dev@ayakael.net>
# Contributor: Antoine Martin (ayakael) <dev@ayakael.net>
2021-11-30 21:44:44 +00:00
2023-01-10 19:12:28 +00:00
pkgname=py3-pathvalidate
_pyname="pathvalidate"
pkgver=2.5.2
2021-11-30 21:44:44 +00:00
pkgrel=0
2023-01-10 19:12:28 +00:00
arch="noarch"
pkgdesc="Sanitize/validate strings in filenames/file-paths/etc"
url="https://pypi.python.org/project/$_pyname"
license="MIT"
depends="python3"
makedepends="py3-setuptools"
options="!check" # No testsuite
source="$pkgname-$pkgver.tar.gz::https://pypi.io/packages/source/${_pyname:0:1}/$_pyname/$_pyname-$pkgver.tar.gz"
2021-11-30 21:44:44 +00:00
builddir="$srcdir"/$_pyname-$pkgver
build() {
2023-01-10 19:12:28 +00:00
python3 setup.py build
2021-11-30 21:44:44 +00:00
}
package() {
2023-01-10 19:12:28 +00:00
python3 setup.py install --root="$pkgdir"/ --optimize=1 --skip-build
2021-11-30 21:44:44 +00:00
}
sha512sums="
2023-01-10 19:12:28 +00:00
44c9d329f60deb81590854e0aa4699e4105821535aa5bf306c78df395c510ce851075db246937a459f46ee2f9abc54538a4a48995b94f5eb031f14fe60c769ce py3-pathvalidate-2.5.2.tar.gz
2021-11-30 21:44:44 +00:00
"