blob: 48e98299bd0cccdde7c471917ca58ad3809191ca (
plain) (
blame)
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
26
27
28
29
30
31
32
|
# Contributor: Brandon Bergren <git@bdragon.rtk0.net>
# Maintainer: Brandon Bergren <git@bdragon.rtk0.net>
pkgname=py3-babel
_pkgname=Babel
_p="${_pkgname#?}"
_p="${_pkgname%"$_p"}"
pkgver=2.7.0
pkgrel=0
pkgdesc="Internationalization tools for Python"
url="https://pypi.python.org/pypi/Babel"
arch="noarch"
license="BSD-3-Clause"
depends="python3"
makedepends="python3-dev"
checkdepends="py3-pytest py3-freezegun py3-python-dateutil py3-tz"
source="$pkgname-$pkgver.tar.gz::https://files.pythonhosted.org/packages/source/$_p/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir/$_pkgname-$pkgver"
build() {
python3 setup.py build
}
check() {
python3 setup.py test
}
package() {
python3 setup.py install --prefix=/usr --root="$pkgdir"
}
sha512sums="96314c7b26f6915a825e0344fa06e4f1d9a71b97a52b16f2f696c2e81c69318974547620135912b11edb95668a717ec49f1be68eef5a4753092d8e4cdc39a1e5 py3-babel-2.7.0.tar.gz"
|