summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Yao <ryao@gentoo.org>2014-09-25 19:52:13 +0000
committerRichard Yao <ryao@gentoo.org>2014-09-25 19:52:13 +0000
commit610e987ca0167facd3ca6a89a809e48dafb51186 (patch)
tree7435791f471bd393aa0712709a5f050bc42a842a /dev-python
parentMask portage-2.2.13 release due to regressions (diff)
downloadhistorical-610e987ca0167facd3ca6a89a809e48dafb51186.tar.gz
historical-610e987ca0167facd3ca6a89a809e48dafb51186.tar.bz2
historical-610e987ca0167facd3ca6a89a809e48dafb51186.zip
New package dev-python/treq; Thanks goes to Arfever for doing ebuild review
Package-Manager: portage-2.2.8-r1/cvs/Linux x86_64 Manifest-Sign-Key: 0xBEE84C64
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/treq/ChangeLog8
-rw-r--r--dev-python/treq/Manifest4
-rw-r--r--dev-python/treq/metadata.xml8
-rw-r--r--dev-python/treq/treq-0.2.1.ebuild39
4 files changed, 59 insertions, 0 deletions
diff --git a/dev-python/treq/ChangeLog b/dev-python/treq/ChangeLog
new file mode 100644
index 000000000000..04f5339b374a
--- /dev/null
+++ b/dev-python/treq/ChangeLog
@@ -0,0 +1,8 @@
+# ChangeLog for dev-python/treq
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/treq/ChangeLog,v 1.1 2014/09/25 19:52:09 ryao Exp $
+
+*treq-0.2.1 (25 Sep 2014)
+
+ 25 Sep 2014; Richard Yao <ryao@gentoo.org> +metadata.xml, +treq-0.2.1.ebuild:
+ New package dev-python/treq; Thanks goes to Arfever for doing ebuild review
diff --git a/dev-python/treq/Manifest b/dev-python/treq/Manifest
new file mode 100644
index 000000000000..528b07fd8cdb
--- /dev/null
+++ b/dev-python/treq/Manifest
@@ -0,0 +1,4 @@
+DIST treq-0.2.1.tar.gz 30954 SHA256 487b9a48f15c1bc482b9be694ad436d70ecdc7a9f0fd3aaf02a30b7f547d9b9d SHA512 d9236c395dca66d358fc9bb1b752e02a7d6335195235808452542de33145057c1c2e959658015b3c89c9a20c35b1a8edb752e151230e72edd313dde6cd6a4cac WHIRLPOOL 2d9b4d5bbf6c8a274d43be6c92f26b4158cd4844074f84d5cd1ef09f49e3ee41454b1b7874074ec3a8c8617a299ddf6d8df6a12d41cd660a188811ae92a44573
+EBUILD treq-0.2.1.ebuild 1095 SHA256 e979c1e99584a4d62808d63e91ffbe37d885e0f461f8b9d36464d96313ce60e8 SHA512 3e878a3c981186fbe023f5a2b883ca9b478247f08e6a811d21326897f879ed76212951180dcb4816666e8df81838426122833626ab319f9ae855b111b96e96e4 WHIRLPOOL e88e6856bdff88826ee6ca0b4cac1e05bc54c85cabbc2c15de27d3d751f5499acdb19996c7ee17d57adb7cb1713de90276ceb75353b64325b8f026976f931695
+MISC ChangeLog 386 SHA256 7125552e8046f2d5f46523ccd244cd6676f119c100f21e23effc140be32efba9 SHA512 b59631c9b178ecfc1759018abbb56036eccac26918afde29a0ad4cb49dd22a7bbf9868a5e9088c4990ac85e8318b10601a94a0ee909a28e4ba7b4a970585e0be WHIRLPOOL fdeeefdf3fbb4d87623bf6ec1b8ae5a5e6990d11efbecfa9d111bfd64d27a52f1cb33131e8a14bccfebd855eedbfaddcb4e9ca8e9ea6fba7ac55643e15e08584
+MISC metadata.xml 228 SHA256 a317cd066ed83c5b5acf9d49869cb2f153499bb90cee389334bee9781534f5e8 SHA512 1638d4580908d32ad6fad71d109a58d699c9111d26c1073ae95b20248fc2a5da91a1f73153f01942df25c64865586e970e6532a312cd374d9866bf21264ddc54 WHIRLPOOL 11e5655c66af420e31f60d3ab19ef3ff55222271dd63bca94b548c7a63bbc73e8edfb4d80648d143c7d8315f8ba66bc4140dcf97ff85ea472e2a7cab1de98264
diff --git a/dev-python/treq/metadata.xml b/dev-python/treq/metadata.xml
new file mode 100644
index 000000000000..e63e3c3865da
--- /dev/null
+++ b/dev-python/treq/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer>
+ <email>ryao@gentoo.org</email>
+ <name>Richard Yao</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/dev-python/treq/treq-0.2.1.ebuild b/dev-python/treq/treq-0.2.1.ebuild
new file mode 100644
index 000000000000..695f26ce5b47
--- /dev/null
+++ b/dev-python/treq/treq-0.2.1.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/treq/treq-0.2.1.ebuild,v 1.1 2014/09/25 19:52:09 ryao Exp $
+
+EAPI=5
+PYTHON_COMPAT=( python{2_6,2_7} )
+inherit distutils-r1
+
+DESCRIPTION="Python requests like API built on top of Twisted's HTTP client."
+HOMEPAGE="https://github.com/dreid/${PN}"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="doc test"
+
+RDEPEND=">=dev-python/pyopenssl-0.11[${PYTHON_USEDEP}]
+ >=dev-python/twisted-core-12.1.0[${PYTHON_USEDEP}]
+ >=dev-python/twisted-web-12.1.0[${PYTHON_USEDEP}]
+ dev-python/requests[${PYTHON_USEDEP}]
+ dev-python/service_identity[${PYTHON_USEDEP}]"
+
+DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
+ doc? ( dev-python/sphinx
+ ${RDEPEND} )
+ test? ( dev-python/mock[${PYTHON_USEDEP}] )"
+
+python_compile_all() {
+ use doc && emake -C "${S}/docs" html
+}
+
+python_install_all() {
+ use doc && dohtml -r "${S}/docs/_build/html/"*
+}
+
+python_test() {
+ trial treq || die "Tests fail with ${EPYTHON}"
+}