initial import
This commit is contained in:
25
python-dulwich/PKGBUILD
Normal file
25
python-dulwich/PKGBUILD
Normal file
@@ -0,0 +1,25 @@
|
||||
# Maintainer: Jesus E. <heckyel@riseup.net>
|
||||
|
||||
_name=dulwich
|
||||
pkgname=python-dulwich
|
||||
pkgver=0.20.15
|
||||
pkgrel=2
|
||||
pkgdesc="Python implementation of the Git file formats and protocols"
|
||||
arch=('i686' 'x86_64')
|
||||
url=https://www.dulwich.io
|
||||
license=('Apache-2.0')
|
||||
depends=('python-certifi' 'python-setuptools' 'python-urllib3')
|
||||
source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz")
|
||||
sha512sums=('a4e746099a90ea2d7eb5f0309508a4f625d41732bdda78997fab07b38ea2ecbd2c2aed08c8ef05b1b73fe3e2ba9b8c8cbf02270f8edbc6235d66cdee0317365c')
|
||||
|
||||
build() {
|
||||
cd $_name-$pkgver
|
||||
python setup.py build
|
||||
}
|
||||
|
||||
package() {
|
||||
cd $_name-$pkgver
|
||||
export PYTHONHASHSEED=0
|
||||
python setup.py install --root="$pkgdir" --optimize=1 --skip-build
|
||||
install -Dm644 COPYING -t "$pkgdir/usr/share/licenses/$pkgname"
|
||||
}
|
||||
Reference in New Issue
Block a user