summaryrefslogblamecommitdiff
path: root/user/py3-tz/APKBUILD
blob: 1c9545f2478b8519d0f6c08e752f534aea233be4 (plain) (tree)
1
2
3
4
5
6
7
8
9

                                                               

                                         

              
             
        
                                         



                                  
                        

                               
                                                                            




                                    




                              

                                                               
                                                                                                                                                                
                                                                                                                                                          
                                                                                                                                                     
# Contributor: Peter Bui <pnutzh4x0r@gmail.com>
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Contributor: zlg <zlg+adelie@zlg.space>
# Maintainer:
pkgname=py3-tz
_pkgname=pytz
pkgver=2019.3
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/p/$_pkgname/$_pkgname-$pkgver.tar.gz
	zoneinfo-noinstall.patch
	zoneinfo-fix.patch"
builddir="$srcdir/$_pkgname-$pkgver"

build() {
	python3 setup.py build
}

package() {
	mkdir -p "$pkgdir"
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}
sha512sums="b925b59d197e7007dae8098d35518a470e4b7588d9114f51e4d8816813243a9f816f662055f690bedf56b86cc9ece06428ed8c55e5b3ed676ba0f504f7cb43af  pytz-2019.3.tar.gz
be61b829014be0d0d7db0c544481d378a95324c1f5968cbbcd7887c6ee8ce52a0b47ae734e16fc5fb2429d8d49c8ef199b6b3b7194f9e654699bb73ab8f3a10d  zoneinfo-noinstall.patch
7629da5d76056789e7c29a4f047d25fe77586d4a78e8a1ce7ad7c513507d286098666edb24ee5cadc9b0a4d5623336bba8a6b0f786072ce741177022201fdc54  zoneinfo-fix.patch"