blob: dd26b48fd968fa903715a91e146623b93031cece (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
# Maintainer: Stefan Husmann <stefan-husmann@t-online.de>
pkgname=python-google-i18n-address
_pkgname=google-i18n-address
pkgver=3.1.0
pkgrel=1
pkgdesc='I18n address data packaged for Python'
arch=('any')
url=https://github.com/mirumee/google-i18n-address.git
license=('custom')
depends=('python')
makedepends=('python-setuptools')
source=("${_pkgname}-$pkgver.tar.gz::https://github.com/mirumee/${_pkgname}/archive/${pkgver}.tar.gz")
sha256sums=('96044d9a09fed1b7c5a289b4880bee23d7de26696a7908c4e6e7c07668f2b9af')
build() {
cd ${_pkgname}-${pkgver}
python -m build --wheel --no-isolation
}
package() {
cd ${_pkgname}-${pkgver}
python -m installer --destdir="$pkgdir" dist/*.whl
install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
}
|