blob: 723149657ab613466b889a8684a1ed0bf1dcf6c7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
pkgname='python-pathvalidate'
_module='pathvalidate'
pkgver='0.16.2'
pkgrel=1
pkgdesc="A Python library to validate/sanitize a string such as filenames/variable-names/excel-sheet-names."
url="https://github.com/thombashi/pathvalidate"
depends=('python')
makedepends=('python-setuptools')
license=('MIT')
arch=('any')
source=("https://github.com/thombashi/pathvalidate/archive/v${pkgver}.tar.gz")
md5sums=('074d4798fd24e75c56f92fcd349abfa6')
build() {
cd "${srcdir}/${_module}-${pkgver}"
python setup.py build
}
package() {
cd "${srcdir}/${_module}-${pkgver}"
python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
}
|