summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 5d27ced153fb40d7fcd307d13788996b1b06b0f9 (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
# Maintainer of this PKGBUILD file: Martino Pilia <martino.pilia@gmail.com>
_name=TestSlide
pkgname=python-${_name,,}
pkgver=2.7.0
pkgrel=1
pkgdesc="A test framework for Python"
arch=('any')
url="https://testslide.readthedocs.io"
license=('MIT')
depends=(
    'python-psutil'
    'python-pygments'
    'python-typeguard'
    'python-dataclasses'
)
makedepends=('python-setuptools')
source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz")
sha256sums=('23ece0b9f5b704b33b978e9c8797936034516adc3c4743ebdaed664aa700c3cb')

package() {
	cd "$srcdir/$_name-$pkgver"

	install -D -m644 \
		"${srcdir}/$_name-$pkgver/LICENSE" \
		"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"

	python setup.py install --optimize=1 --root="$pkgdir"
}