blob: 34203fe2652567151f2726e4e99c61539581ddf1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
pkgname=python-chibi-git
_pyname=chibi_git
pkgver=0.2.0
pkgrel=1
pkgdesc="wrapper to use git in python"
arch=('any')
url="https://pypi.org/project/chibi-git/"
license=('WTFPL')
groups=()
depends=( "python-chibi" "python-chibi-atlas" "python-chibi-command" "python" )
makedepends=("python-setuptools")
source=("https://files.pythonhosted.org/packages/source/${_pyname::1}/${_pyname//-/_}/${_pyname//-/_}-$pkgver.tar.gz")
sha256sums=('443ceafd19dacb5dfef47af7ec2f64d89da702cbc9558bbb2ce2708f9ec57c62')
build() {
cd "$_pyname-$pkgver"
python setup.py build
}
package() {
cd $_pyname-${pkgver}
python setup.py install --root="$pkgdir" --optimize=1
}
|