summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManuel Rüger <mrueg@gentoo.org>2015-06-15 21:54:39 +0000
committerManuel Rüger <mrueg@gentoo.org>2015-06-15 21:54:39 +0000
commit8c84c6d464d1bf13d1dc30b0f1fcc65eda27ee77 (patch)
tree682ee1320ebb249393986e061bf648bf8f4c13ca /dev-python
parentVersion bump (diff)
downloadgentoo-2-8c84c6d464d1bf13d1dc30b0f1fcc65eda27ee77.tar.gz
gentoo-2-8c84c6d464d1bf13d1dc30b0f1fcc65eda27ee77.tar.bz2
gentoo-2-8c84c6d464d1bf13d1dc30b0f1fcc65eda27ee77.zip
Version bump.
(Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key )
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/tzlocal/ChangeLog7
-rw-r--r--dev-python/tzlocal/tzlocal-1.2.ebuild26
2 files changed, 32 insertions, 1 deletions
diff --git a/dev-python/tzlocal/ChangeLog b/dev-python/tzlocal/ChangeLog
index 906d1be1fe2a..007683bb9877 100644
--- a/dev-python/tzlocal/ChangeLog
+++ b/dev-python/tzlocal/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-python/tzlocal
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/tzlocal/ChangeLog,v 1.3 2015/06/07 16:26:20 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/tzlocal/ChangeLog,v 1.4 2015/06/15 21:54:39 mrueg Exp $
+
+*tzlocal-1.2 (15 Jun 2015)
+
+ 15 Jun 2015; Manuel Rüger <mrueg@gentoo.org> +tzlocal-1.2.ebuild:
+ Version bump.
07 Jun 2015; Justin Lecher <jlec@gentoo.org> metadata.xml:
Add github to remote-id in metadata.xml
diff --git a/dev-python/tzlocal/tzlocal-1.2.ebuild b/dev-python/tzlocal/tzlocal-1.2.ebuild
new file mode 100644
index 000000000000..854876448d7b
--- /dev/null
+++ b/dev-python/tzlocal/tzlocal-1.2.ebuild
@@ -0,0 +1,26 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/tzlocal/tzlocal-1.2.ebuild,v 1.1 2015/06/15 21:54:39 mrueg Exp $
+
+EAPI=5
+
+PYTHON_COMPAT=( python{2_7,3_3,3_4} )
+
+inherit distutils-r1
+
+DESCRIPTION="tzinfo object for the local timezone"
+HOMEPAGE="https://github.com/regebro/tzlocal"
+SRC_URI="mirror://pypi/t/${PN}/${P}.tar.gz"
+
+LICENSE="CC0-1.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
+RDPEND="dev-python/pytz[${PYTHON_USEDEP}]"
+
+python_test() {
+ unset TZ
+ "${PYTHON}" -m unittest discover || die "Testing failed with ${EPYTHON}"
+}