mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-05-05 20:36:40 +02:00
testing/py-country: specify license
This commit is contained in:
parent
925b6ead53
commit
a920c85f96
@ -1,17 +1,18 @@
|
||||
# Contributor: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>
|
||||
# Maintainer:
|
||||
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
|
||||
pkgname=py-country
|
||||
_pkgname=pycountry
|
||||
pkgver=1.10
|
||||
pkgrel=0
|
||||
pkgrel=1
|
||||
pkgdesc="ISO country, subdivision, language, currency and script definitions and their translations"
|
||||
url=https://pypi.python.org/pypi/pycountry
|
||||
arch=noarch
|
||||
license=LGPL2.1
|
||||
depends=
|
||||
makedepends=py-setuptools
|
||||
source=https://pypi.python.org/packages/source/p/pycountry/pycountry-$pkgver.zip
|
||||
arch="noarch"
|
||||
license="LGPL2+"
|
||||
depends="python"
|
||||
makedepends="python-dev py-setuptools"
|
||||
source="http://pypi.python.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.zip"
|
||||
|
||||
_builddir=$srcdir/pycountry-$pkgver
|
||||
_builddir="$srcdir"/$_pkgname-$pkgver
|
||||
prepare() {
|
||||
local i
|
||||
cd "$_builddir"
|
||||
@ -24,12 +25,12 @@ prepare() {
|
||||
|
||||
build() {
|
||||
cd "$_builddir"
|
||||
python setup.py build
|
||||
python setup.py build || return 1
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$_builddir"
|
||||
python setup.py install --root "$pkgdir"
|
||||
python setup.py install --prefix=/usr --root="$pkgdir" || return 1
|
||||
}
|
||||
|
||||
md5sums="617635a7e94dc3d18ebcb5382cd3c93f pycountry-1.10.zip"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user