summaryrefslogtreecommitdiff
path: root/user/py3-tz/APKBUILD
blob: acc48d6ea6495251d04ac526f502ccf868657dd7 (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
33
34
35
36
37
38
# Contributor: Peter Bui <pnutzh4x0r@gmail.com>
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: zlg <zlg+adelie@zlg.space>
pkgname=py3-tz
_pkgname=pytz
pkgver=2018.9
pkgrel=0
pkgdesc="Timezone definitions for Python"
url="http://pytz.sourceforge.net/"
arch="noarch"
license="MIT"
options="!check" # flake8, sphinx
depends="python3 tzdata"
makedepends="python3-dev unzip"
subpackages=""
source="https://pypi.io/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz
	zoneinfo-noinstall.patch
	zoneinfo-fix.patch"
builddir="$srcdir/$_pkgname-$pkgver"

build() {
	cd "$builddir"
	python3 setup.py build
}

package() {
	mkdir -p "$pkgdir"
	cd "$builddir"
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

<<<<<<< Updated upstream
sha512sums="49cd9ed0b4b0959bab59c91ac1ced36b28ab0fa097002ab1d45daa0e7f962c43de2e0b9228344d9b1f8aa4dc2f3b02d51f41a3ed7e6af8c51fc2eec7aace5b48  pytz-2018.7.tar.gz
=======
sha512sums="c3dabe61d04539245761a5c4e3bfb614df1c3b8ccc2ffa1cf320c5ad642242c29b3321fe7855d32a2ae55c739acbbe8c0e1813df5b3c757b8f56fff910fee159  pytz-2018.9.tar.gz
>>>>>>> Stashed changes
be61b829014be0d0d7db0c544481d378a95324c1f5968cbbcd7887c6ee8ce52a0b47ae734e16fc5fb2429d8d49c8ef199b6b3b7194f9e654699bb73ab8f3a10d  zoneinfo-noinstall.patch
a09467dbb00c1ab9f7e7527d9b020a6d913b8da2380a5359e782f27ccf9ec4dd4f50bfc92c95dc2e793904242c8139793c15e78e651d2777fb3b3abc48fcd640  zoneinfo-fix.patch"