summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 27426f2424928fb0f483d357c01f7948da1a372a (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
27
28
29
30
31
32
33
34
35
36
37
# Maintainer: not_anonymous <nmlibertarian@gmail.com>
# Submitter: not_anonymous <nmlibertarian@gmail.com>

pkgname=python-appdata
_pkgname=appdata
pkgver=2.2.1
pkgrel=1
pkgdesc="Utils to manage application data folder."
arch=('any')
url="https://github.com/VoIlAlex/appdata"
license=('MIT')
#checkdepends=('jupyter-nbconvert' 'python-nose' 'python-selenium' 'geckodriver')
depends=('python')
# 'python-jinja' 'python-pandas' 'python-numpy')
makedepends=('python-setuptools')
options=(!emptydirs)
source=("$pkgname-$pkgver.tar.gz::https://files.pythonhosted.org/packages/5d/\
0f/4c941be545e24149e2034afefc292e49c9d6f0ce91ae0153d29c8b27b71a/appdata-2.2.1.tar.gz")


#check() {
#	cd "$_pkgname-$pkgver"
#	nosetests
#}

prepare() {
	cd "$_pkgname-$pkgver"
	python setup.py build
}

package() {
	cd "$_pkgname-$pkgver"
	python setup.py install --root="$pkgdir/" --optimize=1 --skip-build
	install -D -m644 LICENSE.md "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.txt"
}
md5sums=('521dcbe6604fd882a2ae7dbb95a36d2c')
sha256sums=('3122241e1689eb8be36aee28af3bf080fe216e3cc8fabb5af67826b149837a92')