blob: 4d193791d5b63224a1d6cd742141f427a4a7a5fd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
# Maintainer: Matthias Mailänder <matthias@mailaender.name>
pkgname=python-xdgenvpy
_name=${pkgname//python-}
pkgver=2.3.5
pkgrel=2
pkgdesc="Another XDG Base Directory Specification utility."
arch=('any')
url="https://gitlab.com/deliberist/xdgenvpy"
license=('MIT')
makedepends=('python-setuptools' 'python-pip')
source=("https://files.pythonhosted.org/packages/source/${_name:0:1}/${_name}/${_name}-${pkgver}.tar.gz")
sha256sums=('31e6c2ba68061000d09f74444db0520da90d2fb694a3b2c23551b06ac8d9642f')
build() {
cd $_name-$pkgver
pip3 freeze > requirements.txt
pip3 freeze > requirements-test.txt
}
package() {
cd $_name-$pkgver
python setup.py install --root="$pkgdir" --optimize=1
install -Dm644 LICENSE.md "$pkgdir/usr/share/licenses/$pkgname/LICENSE.md"
}
|