upgpkg: wordpress 6.2.1-1
[ArchLinux/community.git] / python-sphobjinv / repos / community-any / PKGBUILD
blob9fc46c57e0484291aa65a394f6875fe8e8514676
1 # Maintainer: Evangelos Foutras <evangelos@foutrelis.com>
3 pkgname=python-sphobjinv
4 _name=${pkgname#python-}
5 pkgver=2.3.1
6 pkgrel=2
7 pkgdesc="Manipulate and inspect Sphinx objects.inv files"
8 arch=('any')
9 url="https://github.com/bskinn/sphobjinv"
10 license=('MIT')
11 depends=('python' 'python-attrs' 'python-certifi' 'python-jsonschema')
12 makedepends=('python-setuptools')
13 source=(https://github.com/bskinn/sphobjinv/archive/v$pkgver/$_name-$pkgver.tar.gz)
14 sha256sums=('dab4abb840c8d2a5b3532da4318243c70ab0d18f6a87596eae16c3ef178265b1')
16 build() {
17   cd "$_name-$pkgver"
18   python setup.py build
21 package() {
22   cd "$_name-$pkgver"
23   python setup.py install --root="$pkgdir" -O1
24   install -Dm644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENSE.txt
27 # vim:set ts=2 sw=2 et: