summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRafael Martins <rafaelmartins@gentoo.org>2013-05-11 20:49:15 +0000
committerRafael Martins <rafaelmartins@gentoo.org>2013-05-11 20:49:15 +0000
commit851a9a6c94cc6e293f538bacdc3a5bfdd68d08a7 (patch)
tree14404dd71c933a30b677c13b0bd1ca383f4eabd3 /dev-python/falcon
parentFix build with automake-1.13. Bug #467634 (diff)
downloadgentoo-2-851a9a6c94cc6e293f538bacdc3a5bfdd68d08a7.tar.gz
gentoo-2-851a9a6c94cc6e293f538bacdc3a5bfdd68d08a7.tar.bz2
gentoo-2-851a9a6c94cc6e293f538bacdc3a5bfdd68d08a7.zip
Initial commit.
(Portage version: 2.2.0_alpha163/cvs/Linux x86_64, signed Manifest commit with key )
Diffstat (limited to 'dev-python/falcon')
-rw-r--r--dev-python/falcon/ChangeLog10
-rw-r--r--dev-python/falcon/Manifest4
-rw-r--r--dev-python/falcon/falcon-0.1.4.ebuild43
-rw-r--r--dev-python/falcon/metadata.xml12
4 files changed, 69 insertions, 0 deletions
diff --git a/dev-python/falcon/ChangeLog b/dev-python/falcon/ChangeLog
new file mode 100644
index 000000000000..f0ac497ca42d
--- /dev/null
+++ b/dev-python/falcon/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for dev-python/falcon
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/falcon/ChangeLog,v 1.1 2013/05/11 20:49:15 rafaelmartins Exp $
+
+*falcon-0.1.4 (11 May 2013)
+
+ 11 May 2013; Rafael G. Martins <rafaelmartins@gentoo.org>
+ +falcon-0.1.4.ebuild, +metadata.xml:
+ Initial commit.
+
diff --git a/dev-python/falcon/Manifest b/dev-python/falcon/Manifest
new file mode 100644
index 000000000000..2c688c75d707
--- /dev/null
+++ b/dev-python/falcon/Manifest
@@ -0,0 +1,4 @@
+DIST falcon-0.1.4.tar.gz 233313 SHA256 39022eda1b3fdb2c291e0e740ef7c54a3b9cf2f9acc759553ed411d9582f00f3 SHA512 05f6876c242ed943b8e32b20f20afa2ca739fed9be580d9073affaac4e49b4539a32c5ce071ef55edd3c4e48dc9d413e091ac9510f12624b6917bbd33ba253dd WHIRLPOOL 5778882c7a02dab156340184544e9ba6e9dfb0579dbc4972f51a621a186e17d6589a9c4966ea2c8a585111fd7f50270f49572999aaecfb95fdd0f9e392764181
+EBUILD falcon-0.1.4.ebuild 1172 SHA256 5fc79016371b1d044f778d931185e579f6fa1beeaf6f9c74003c85e9ad2445e4 SHA512 feb32a3111f26ed8e621c42b9de30b20b3b2fee03013ff3faceaa394974bc01fcf5432b111d3c9a7b7c8b87a4e4a339cc0d06813923aaec557d31d0ec6b9a4fa WHIRLPOOL 3923f1acb87e9eea270341d72b839bba13731316b7542181bc3f657c2dc7c25f5447934e2847b4d6e873a9eda6f86cbbc7e13807a3a5b49699f5771dd2c6d556
+MISC ChangeLog 265 SHA256 2a8ef4f20beeac69f1978e1c1b911d20a1f4665f65a67c9172f3c2ff0d31859d SHA512 34d297470d8f17114f909027b0167a5fcb36bc253438fdc787cfc1d5a4056db0803c9b9cd632667ededcbad01c24bd11e01333348618419c8f90ec2c6531aa71 WHIRLPOOL 458f62e29a0eac93d5c8989e87d2024db7365b4b2db8e9574b69ade287369f813256acb7e90d3352cddc2fcfd29acc628afda2e25b2e525380a01d3690354caf
+MISC metadata.xml 322 SHA256 096bb646fa38b626571eb2bff067f5b6975037aeeaa28fd32d003d956397eb7f SHA512 30fb1b828a9a11415d296b8cbb52520cbaa4b962f77ae6d06fe9cdb06e2078007799f5b56bab01f4cdbb20c755351b36384d44568bf5a40e8b4485d24f834a67 WHIRLPOOL 1f92d5556627820cb9bb42140f7b2f19b77b917a8ba885d81d8be1afb2418758b777b1de7c8c8a59beb0b373764760bf5f2d708a183bc070ce0607ac5d94268e
diff --git a/dev-python/falcon/falcon-0.1.4.ebuild b/dev-python/falcon/falcon-0.1.4.ebuild
new file mode 100644
index 000000000000..9224584d7c1b
--- /dev/null
+++ b/dev-python/falcon/falcon-0.1.4.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/falcon/falcon-0.1.4.ebuild,v 1.1 2013/05/11 20:49:15 rafaelmartins Exp $
+
+EAPI=5
+
+# Python 2.6 is supported, but depends on ordereddict, that isn't packaged for
+# Gentoo, and I don't think it is worth to maintain it. If someone needs it,
+# please let me know. PyPy also works, but needs testing.
+PYTHON_COMPAT=( python{2_7,3_3} )
+
+inherit distutils-r1
+
+DESCRIPTION="A supersonic micro-framework for building cloud APIs."
+HOMEPAGE="http://falconframework.org/ https://pypi.python.org/pypi/falcon"
+SRC_URI="https://github.com/racker/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="+cython test"
+
+RDEPEND="dev-python/six[${PYTHON_USEDEP}]
+ cython? (
+ dev-python/cython[${PYTHON_USEDEP}] )"
+
+DEPEND="${RDEPEND}
+ dev-python/setuptools[${PYTHON_USEDEP}]
+ test? (
+ dev-python/cython[${PYTHON_USEDEP}]
+ dev-python/nose[${PYTHON_USEDEP}]
+ dev-python/testtools[${PYTHON_USEDEP}] )"
+
+python_test() {
+ nosetests || die "Testing failed with ${EPYTHON}"
+}
+
+src_prepare() {
+ if ! use cython; then
+ sed -i -e 's/if with_cython:/if False:/' setup.py \
+ || die 'sed failed.'
+ fi
+}
diff --git a/dev-python/falcon/metadata.xml b/dev-python/falcon/metadata.xml
new file mode 100644
index 000000000000..0c5718b3322a
--- /dev/null
+++ b/dev-python/falcon/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer>
+ <email>rafaelmartins@gentoo.org</email>
+ <name>Rafael G. Martins</name>
+ </maintainer>
+ <use>
+ <flag name="cython">Build cython-based python modules</flag>
+ </use>
+</pkgmetadata>
+