summaryrefslogblamecommitdiff
path: root/user/py3-babel/APKBUILD
blob: 65f4f24dba49061f9f42d09a4b60bdf0c254c3cd (plain) (tree)
1
2
3
4
5
6
7



                                                     

                      
            





                                               
                                                

                                                                                                                       


                                    



                              



                             



                                                               
                                                                                                                                                                     
# 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 py3-iniconfig py3-toml"
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"