diff options
author | Sven Wegener <swegener@gentoo.org> | 2013-02-24 09:50:37 +0000 |
---|---|---|
committer | Sven Wegener <swegener@gentoo.org> | 2013-02-24 09:50:37 +0000 |
commit | 588011b1fd4eb8e27e5b7bdbb6e0b5c807ce9917 (patch) | |
tree | 928f7d764d931b25b0de29dceae9a3ab05a94ce0 /dev-python/hiredis | |
parent | fix docs layout, thanks to Chris Mayo (#458628) (diff) | |
download | historical-588011b1fd4eb8e27e5b7bdbb6e0b5c807ce9917.tar.gz historical-588011b1fd4eb8e27e5b7bdbb6e0b5c807ce9917.tar.bz2 historical-588011b1fd4eb8e27e5b7bdbb6e0b5c807ce9917.zip |
Initial commit, ebuild written by me.
Package-Manager: portage-2.2.0_alpha163/cvs/Linux x86_64
Manifest-Sign-Key: 0x64D4CF24
Diffstat (limited to 'dev-python/hiredis')
-rw-r--r-- | dev-python/hiredis/ChangeLog | 10 | ||||
-rw-r--r-- | dev-python/hiredis/Manifest | 15 | ||||
-rw-r--r-- | dev-python/hiredis/files/hiredis-0.1.1-system-libs.patch | 25 | ||||
-rw-r--r-- | dev-python/hiredis/hiredis-0.1.1.ebuild | 28 | ||||
-rw-r--r-- | dev-python/hiredis/metadata.xml | 9 |
5 files changed, 87 insertions, 0 deletions
diff --git a/dev-python/hiredis/ChangeLog b/dev-python/hiredis/ChangeLog new file mode 100644 index 000000000000..06ebc00f5fb5 --- /dev/null +++ b/dev-python/hiredis/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for dev-python/hiredis +# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/hiredis/ChangeLog,v 1.1 2013/02/24 09:50:34 swegener Exp $ + +*hiredis-0.1.1 (24 Feb 2013) + + 24 Feb 2013; Sven Wegener <swegener@gentoo.org> +hiredis-0.1.1.ebuild, + +files/hiredis-0.1.1-system-libs.patch, +metadata.xml: + Initial commit, ebuild written by me. + diff --git a/dev-python/hiredis/Manifest b/dev-python/hiredis/Manifest new file mode 100644 index 000000000000..3cfc2affb3f2 --- /dev/null +++ b/dev-python/hiredis/Manifest @@ -0,0 +1,15 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA256 + +AUX hiredis-0.1.1-system-libs.patch 639 SHA256 7147ec7d5207584d1c89a0215b281041c050f8fb7f2e5e58688e005d96c86ed0 SHA512 3e71a65a6e3eb0833536592ca9bb4f4e96c5601b6b34180a9a89cd0c68b8ae409fc57cd9aaa447b623f3d3df6d9eeb13e0dbd413a8a8fd0d8a21b468149e47e6 WHIRLPOOL 214537b5c34b63a34e579da549115d571d9221e8b083fd89dd8400688ecc56650c62ba18de92e01d8d5fde49ac864aab270a24f3437bd3e2d0a8186e92215f8a +DIST hiredis-0.1.1.tar.gz 35598 SHA256 ca7b3840d12f836dabfd73708bd64c0ac31204b22a926279b6515e6433e50ffc SHA512 fe588927698e771a3efb5918c2de308e435b1052b7991d331b4c59976a48ba42be0711bab4546d6aac19d851c6eb829c1208ff403f5e447c4201dc9c83aebc20 WHIRLPOOL e9e8b79e6f054e60f7eb0911123ce96e2cb3870378aa710b87c8604a22df4b3aa5a0b123970736d900a507eb5ee4e33858b4af170a776fdf01642e37b171a607 +EBUILD hiredis-0.1.1.ebuild 678 SHA256 606c2b70b626a495ad488f550e62aac93db7076008086602da46f9df7fd1eec7 SHA512 261afe0b160c8c2a714dfa26c47cd4e2f2887b8d9c3256e3b3564cf6c0239751aa335bef081cc82d41982cab929a2a9bf40477f66855e8e86e12e62f481875a3 WHIRLPOOL 0d825ac1043edd442b75584518998734acbc8c1c47e37f8b9d9fc74d3d250382f25d9595b8e4fd105c5e1350f2d72ba36dcdd2404488033c95faac8defbada00 +MISC ChangeLog 412 SHA256 67d34797a56e055b93ee7307b051b8448046890d69773dff04cff20e8812cba0 SHA512 b60a61834bb1b47ad0cd6618a762c868b6128db16c73ebb8a12d1f25c7a4751eaa9c4a0b913248dd444b6adaf04d1ab9279de3462ba5f7397f545f4641264422 WHIRLPOOL 67995c5a7cefe78081df7e99330e3cc73a73ff54bbf8526e2804d8e60337c6d326ea6860e1dbd4ef00c07bf2a36cdaa2b9c5a3666903bd7260869e433b19fabd +MISC metadata.xml 254 SHA256 95e496788f2a045505928c1f49e7709707da6ca75f1e9cb3ce2f8a6aa8fa8e3a SHA512 46420ab02c157e9ead5fbe31dba465c5da89e2be64405a77dc387af849ccd78c9c39912d8d98e17803862b032c2af179af3f43ea7b1a041db245011b31f534a0 WHIRLPOOL e7c960f520226efcc23fe4dceb6417f4238d8fabd7ba6cfd9621216fda606b48d1b8e94a11f285734418914bacc6d26a03098c8b6657e4bc0b6905c819c73ff5 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.19 (GNU/Linux) + +iEYEAREIAAYFAlEp4m0ACgkQI1lqEGTUzyTOzgCg3NsdaEmmvNH5Uool1I/qKgaS +VqUAnR203/aS3bGjNoN8t17kQJNDp3fr +=D0/4 +-----END PGP SIGNATURE----- diff --git a/dev-python/hiredis/files/hiredis-0.1.1-system-libs.patch b/dev-python/hiredis/files/hiredis-0.1.1-system-libs.patch new file mode 100644 index 000000000000..298f5cf7ee2e --- /dev/null +++ b/dev-python/hiredis/files/hiredis-0.1.1-system-libs.patch @@ -0,0 +1,25 @@ +--- hiredis-0.1.1/setup.py ++++ hiredis-0.1.1/setup.py +@@ -20,13 +20,9 @@ + if self.distribution.has_ext_modules(): + self.run_command('build_ext') + +-lib = ("hiredis", { +- "sources": ["vendor/hiredis/%s.c" % src for src in ("hiredis", "net", "sds")], +- "include_dirs": ["vendor/hiredis"]}) +- + ext = Extension("hiredis.hiredis", + sources=glob.glob("src/*.c"), +- include_dirs=["src", "vendor"], ++ include_dirs=["src"], + libraries=["hiredis"]) + + setup( +@@ -39,7 +35,6 @@ + keywords=["Redis"], + license="BSD", + packages=["hiredis"], +- libraries=[lib], + ext_modules=[ext], + + # Override "install_lib" command diff --git a/dev-python/hiredis/hiredis-0.1.1.ebuild b/dev-python/hiredis/hiredis-0.1.1.ebuild new file mode 100644 index 000000000000..982c3bd9b8ab --- /dev/null +++ b/dev-python/hiredis/hiredis-0.1.1.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/hiredis/hiredis-0.1.1.ebuild,v 1.1 2013/02/24 09:50:34 swegener Exp $ + +EAPI="4" + +SUPPORT_PYTHON_ABIS="1" +PYTHON_DEPEND="*:2.6" +RESTRICT_PYTHON_ABIS="2.4 2.5" + +inherit distutils eutils + +DESCRIPTION="Python extension that wraps hiredis" +HOMEPAGE="https://github.com/pietern/hiredis-py" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND="dev-libs/hiredis" +RDEPEND="${DEPEND}" + +src_prepare() { + epatch "${FILESDIR}"/${P}-system-libs.patch + distutils_src_prepare +} diff --git a/dev-python/hiredis/metadata.xml b/dev-python/hiredis/metadata.xml new file mode 100644 index 000000000000..d81065b0cd40 --- /dev/null +++ b/dev-python/hiredis/metadata.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>python</herd> + <maintainer> + <email>swegener@gentoo.org</email> + <name>Sven Wegener</name> + </maintainer> +</pkgmetadata> |