From 2d9a588cb09f138d582707b1ffa7eab2a893dbeb Mon Sep 17 00:00:00 2001
From: Britney Fransen <brfransen@gmail.com>
Date: Sun, 16 Jul 2017 16:51:34 +0000
Subject: python-tzlocal: initial inclusion. dep of flexget

---
 abs/core/python_modules/python-tzlocal/PKGBUILD    | 45 ++++++++++++++++++++++
 abs/core/python_modules/python-tzlocal/__changelog |  1 +
 2 files changed, 46 insertions(+)
 create mode 100644 abs/core/python_modules/python-tzlocal/PKGBUILD
 create mode 100644 abs/core/python_modules/python-tzlocal/__changelog

diff --git a/abs/core/python_modules/python-tzlocal/PKGBUILD b/abs/core/python_modules/python-tzlocal/PKGBUILD
new file mode 100644
index 0000000..b4e6905
--- /dev/null
+++ b/abs/core/python_modules/python-tzlocal/PKGBUILD
@@ -0,0 +1,45 @@
+# Maintainer: eolianoe <eolianoe At GoogleMAIL DoT com>
+# Contributor: Étienne Deparis <etienne [at] depar.is>
+# Contributor: Patrice Peterson <runiq at archlinux dot us>
+# Contributor: Patrick Burroughs <celticmadman at gmail dot com>
+
+_pyname=tzlocal
+pkgbase=python-${_pyname}
+pkgname=("python2-${_pyname}")
+pkgver=1.4
+pkgrel=1
+pkgdesc="Tzinfo object for the local timezone"
+arch=('any')
+url='https://pypi.python.org/pypi/tzlocal'
+license=('custom')
+makedepends=('python2-setuptools')
+source=("${_pyname}-${pkgver}.tar.gz::https://github.com/regebro/${_pyname}/archive/${pkgver}.tar.gz")
+sha256sums=('d3cdf502a4ae4b566abf948924e837b6c354aaed082eb1326c6c9043824cb4a7')
+
+prepare() {
+  cp -a ${_pyname}-${pkgver}{,-py2}
+}
+
+build() {
+#  cd "${srcdir}/${_pyname}-$pkgver"
+#  python setup.py build
+
+  cd "${srcdir}/${_pyname}-$pkgver-py2"
+  python2 setup.py build
+}
+
+package_python2-tzlocal() {
+  depends=('python2-pytz')
+  cd "${srcdir}/${_pyname}-${pkgver}-py2"
+  python2 setup.py install --root="${pkgdir}" --optimize=1 --skip-build
+  install -Dm0644 LICENSE.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
+
+package_python-tzlocal() {
+  depends=('python-pytz')
+  cd "${srcdir}/${_pyname}-${pkgver}"
+  python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
+  install -Dm0644 LICENSE.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
+
+# vim:set ts=2 sw=2 et:
diff --git a/abs/core/python_modules/python-tzlocal/__changelog b/abs/core/python_modules/python-tzlocal/__changelog
new file mode 100644
index 0000000..c6e1e55
--- /dev/null
+++ b/abs/core/python_modules/python-tzlocal/__changelog
@@ -0,0 +1 @@
+PKGBUILD: don't build py 3 stuff
-- 
cgit v0.12

