2014-11-06 18:43:08 +00:00
|
|
|
# Maintainer: Étienne Deparis <etienne [at] depar.is>
|
|
|
|
|
|
|
|
pkgname=python2-tzlocal
|
|
|
|
_pkgname=tzlocal
|
2015-04-24 01:48:28 +00:00
|
|
|
pkgver=1.1.3
|
2014-11-06 18:43:08 +00:00
|
|
|
pkgrel=1
|
|
|
|
pkgdesc="Python2 version for tzinfo object for the local timezone"
|
|
|
|
arch=('any')
|
2014-12-06 17:11:50 +00:00
|
|
|
url='https://pypi.python.org/pypi/tzlocal'
|
2014-11-06 18:43:08 +00:00
|
|
|
license=('custom')
|
|
|
|
depends=('python2-pytz')
|
|
|
|
makedepends=('python2-setuptools')
|
2015-04-24 01:48:28 +00:00
|
|
|
source=("https://pypi.python.org/packages/source/t/${_pkgname}/${_pkgname}-$pkgver.tar.gz")
|
|
|
|
sha256sums=('1950d112ed1b717683280d54f1e7a4533564d479127162cbf247bd0fb3708983')
|
2014-11-06 18:43:08 +00:00
|
|
|
|
|
|
|
package() {
|
|
|
|
cd "${_pkgname}-$pkgver"
|
|
|
|
python2 setup.py install --root="$pkgdir"
|
2014-12-06 17:11:50 +00:00
|
|
|
install -D -m0644 LICENSE.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
|
2014-11-06 18:43:08 +00:00
|
|
|
}
|