summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 6df0de34510f707d37bfc5258145c2e01dc46dab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
_pipname=git-dummy
pkgname=python-git-dummy
pkgver=0.1.2
pkgrel=1
pkgdesc='Generate dummy Git repositories populated with the desired number of commits, branches, and structure.'
arch=(any)
url='https://pypi.org/project/git-dummy/'
license=(MIT)
depends=(python-typer python-gitpython python-pydantic-settings)
makedepends=(python-setuptools)
source=("https://pypi.io/packages/source/g/git-dummy/git-dummy-${pkgver}.tar.gz")
sha256sums=('1948ccc8725f11689a3eefddfd1917df1ed6f199290906bf1d1246cd38c03765')

build() {
  cd "$srcdir/${_pipname}-${pkgver}"
  python setup.py build
}

package() {
  cd "$srcdir/${_pipname}-${pkgver}/"
  python setup.py install --root="$pkgdir/" --optimize=1 --skip-build
  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}