mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
extra/python-incremental to 21.3.0-1.1
This commit is contained in:
parent
2278ccbe24
commit
15b0a4922e
1 changed files with 36 additions and 0 deletions
36
extra/python-incremental/PKGBUILD
Normal file
36
extra/python-incremental/PKGBUILD
Normal file
|
@ -0,0 +1,36 @@
|
|||
# Maintainer: Felix Yan <felixonmars@archlinux.org>
|
||||
|
||||
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
||||
# - drop python2 variant, can't build anymore
|
||||
|
||||
pkgname=python-incremental
|
||||
pkgver=21.3.0
|
||||
pkgrel=1.1
|
||||
pkgdesc='A small library that versions your Python projects'
|
||||
arch=('any')
|
||||
license=('MIT')
|
||||
url='https://github.com/hawkowl/incremental'
|
||||
makedepends=('python-setuptools' 'python-click' 'python2-click' 'python-twisted')
|
||||
checkdepends=('python-pytest-runner')
|
||||
source=("https://github.com/hawkowl/incremental/archive/incremental-$pkgver.tar.gz")
|
||||
sha512sums=('99a9e27b8513c4a13a74d37ae3d2c912af78ff9c6c528de1cba84767e2c08c9fc00cb54832efcccc70b922ac1582dd116cf8e8ba3f69926b424cf204ba4f0e7d')
|
||||
|
||||
build() {
|
||||
cd "$srcdir"/incremental-incremental-$pkgver
|
||||
python setup.py build
|
||||
}
|
||||
|
||||
check() {
|
||||
cd "$srcdir"/incremental-incremental-$pkgver
|
||||
LC_CTYPE=en_US.UTF-8 python setup.py ptr
|
||||
}
|
||||
|
||||
package() {
|
||||
depends=('python-click' 'python-twisted')
|
||||
|
||||
cd incremental-incremental-$pkgver
|
||||
python setup.py install --root="$pkgdir" --optimize=1
|
||||
install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
|
||||
}
|
||||
|
||||
# vim:set ts=2 sw=2 et:
|
Loading…
Reference in a new issue