diff options
author | Rafael Martins <rafaelmartins@gentoo.org> | 2013-05-11 20:49:28 +0000 |
---|---|---|
committer | Rafael Martins <rafaelmartins@gentoo.org> | 2013-05-11 20:49:28 +0000 |
commit | 327d60db2c7e04d44dc05530464367374d66d96f (patch) | |
tree | 1182680362239c5cef0e3c2b861de8380bf0efe4 /dev-python | |
parent | Initial commit. (diff) | |
download | historical-327d60db2c7e04d44dc05530464367374d66d96f.tar.gz historical-327d60db2c7e04d44dc05530464367374d66d96f.tar.bz2 historical-327d60db2c7e04d44dc05530464367374d66d96f.zip |
Initial commit.
Package-Manager: portage-2.2.0_alpha163/cvs/Linux x86_64
Diffstat (limited to 'dev-python')
-rw-r--r-- | dev-python/falcon/Manifest | 4 | ||||
-rw-r--r-- | dev-python/falcon/falcon-0.1.4.ebuild | 43 | ||||
-rw-r--r-- | dev-python/falcon/metadata.xml | 12 |
3 files changed, 57 insertions, 2 deletions
diff --git a/dev-python/falcon/Manifest b/dev-python/falcon/Manifest index 2c688c75d707..233e134eb7b4 100644 --- a/dev-python/falcon/Manifest +++ b/dev-python/falcon/Manifest @@ -1,4 +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 +EBUILD falcon-0.1.4.ebuild 1278 SHA256 c3af723afea62c3ec3abff85b32557bd799a726bda5714fc02a615f9afe35d30 SHA512 5207bba2d91dad34be27306aebdf895ec93d54b42976672d5c4a215ff0154bc4c6b3363c195a3f8c72103b4f591d51efbe0a5f09079b00a4c5c715147439f15c WHIRLPOOL d6aad83c89854272ffc6e380ef59c23cb058cc5219c8b5f2f27866177302afcc450718efc2d982fecabb98ca682b0bc77740cb75a9944ea228bffab12943b845 +MISC ChangeLog 361 SHA256 1bc136687246455031942147adec73f5fffb9641a8283bb12784d18baf6078c0 SHA512 1bf978066843590ff89cfe039136764fe13641c092b12781b382e45fe1c4896d06b6233cb95b023714a85f7fb876c64993500d3c2ef337315808f0abc233eaf2 WHIRLPOOL 4f42f62d31066ed8e98517952f08fa978c29328dc1e37fc4e6a88245ac6962f733ec31a9634f443f883a90f802a180e94ceaae2930c0c2fe24bde355a4fe5ac3 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> + |