summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2015-05-20 10:45:57 +0000
committerMike Frysinger <vapier@gentoo.org>2015-05-20 10:45:57 +0000
commit57e5999e247120f6084c14f236d137652b42ff69 (patch)
treea94d5276f5d365f842cb8fe6fc55f50812b17144 /dev-python/google-apputils
parentNew package for new gsutil from Chromium OS. (diff)
downloadgentoo-2-57e5999e247120f6084c14f236d137652b42ff69.tar.gz
gentoo-2-57e5999e247120f6084c14f236d137652b42ff69.tar.bz2
gentoo-2-57e5999e247120f6084c14f236d137652b42ff69.zip
Version bump from Chromium OS.
(Portage version: 2.2.19/cvs/Linux x86_64, signed Manifest commit with key D2E96200)
Diffstat (limited to 'dev-python/google-apputils')
-rw-r--r--dev-python/google-apputils/ChangeLog7
-rw-r--r--dev-python/google-apputils/google-apputils-0.4.2.ebuild32
2 files changed, 38 insertions, 1 deletions
diff --git a/dev-python/google-apputils/ChangeLog b/dev-python/google-apputils/ChangeLog
index b2222dd66556..4e48586c70d1 100644
--- a/dev-python/google-apputils/ChangeLog
+++ b/dev-python/google-apputils/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-python/google-apputils
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/google-apputils/ChangeLog,v 1.9 2015/04/25 11:52:19 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/google-apputils/ChangeLog,v 1.10 2015/05/20 10:45:57 vapier Exp $
+
+*google-apputils-0.4.2 (20 May 2015)
+
+ 20 May 2015; Mike Frysinger <vapier@gentoo.org> +google-apputils-0.4.2.ebuild:
+ Version bump from Chromium OS.
25 Apr 2015; Jeroen Roovers <jer@gentoo.org> google-apputils-0.4.0.ebuild:
Marked ~ppc64 too.
diff --git a/dev-python/google-apputils/google-apputils-0.4.2.ebuild b/dev-python/google-apputils/google-apputils-0.4.2.ebuild
new file mode 100644
index 000000000000..5ee8e005cf72
--- /dev/null
+++ b/dev-python/google-apputils/google-apputils-0.4.2.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/google-apputils/google-apputils-0.4.2.ebuild,v 1.1 2015/05/20 10:45:57 vapier Exp $
+
+EAPI="5"
+
+PYTHON_COMPAT=( python2_7 ) # Doesn't yet support py3
+
+inherit distutils-r1
+
+DESCRIPTION="Collection of utilities for building Python applications"
+HOMEPAGE="https://github.com/google/google-apputils"
+SRC_URI="https://pypi.python.org/packages/source/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~m68k ~mips ~ppc64 ~s390 ~sh ~x86"
+IUSE="test"
+
+RDEPEND=">=dev-python/python-dateutil-1.4[${PYTHON_USEDEP}]
+ >=dev-python/python-gflags-1.4[${PYTHON_USEDEP}]
+ >=dev-python/pytz-2010[${PYTHON_USEDEP}]"
+DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
+ test? ( ${RDEPEND} dev-python/mox[${PYTHON_USEDEP}] )"
+
+python_test() {
+ # These yield 2 fails which are in fact expected errors run from a shell script!
+ # They seemingly have no immediate mechanism to exit 0 in an expected fail style.
+ for test in tests/{app_test*.py,[b-s]*.py} ; do
+ "${PYTHON}" $test || die "test failure under ${EPYTHON}"
+ done
+}