From 4f2d7949f03e1c198bc888f2d05f421d35c57e21 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 9 Oct 2017 18:53:29 +0100 Subject: reinit the tree, so we can have metadata --- dev-python/shm/Manifest | 6 ++++++ dev-python/shm/files/shm-1.2.2-compiler.patch | 11 +++++++++++ dev-python/shm/metadata.xml | 8 ++++++++ dev-python/shm/shm-1.2.2-r1.ebuild | 27 +++++++++++++++++++++++++++ 4 files changed, 52 insertions(+) create mode 100644 dev-python/shm/Manifest create mode 100644 dev-python/shm/files/shm-1.2.2-compiler.patch create mode 100644 dev-python/shm/metadata.xml create mode 100644 dev-python/shm/shm-1.2.2-r1.ebuild (limited to 'dev-python/shm') diff --git a/dev-python/shm/Manifest b/dev-python/shm/Manifest new file mode 100644 index 000000000000..f60a6e8de08f --- /dev/null +++ b/dev-python/shm/Manifest @@ -0,0 +1,6 @@ +AUX shm-1.2.2-compiler.patch 464 SHA256 c2558b041808f281e0b7d67b0d6b73a1faa5edd567ad306cc58f331bd5dd4c87 SHA512 165d898892eca56abd410ab0c70879055eefe1429afce42df2b0af48f0182c8f926e08772013efbb4551d2a684d425c7c6ea9f280af51ed5745b9ecd860d9ad2 WHIRLPOOL cdc34aae0c0a989d1110bd2b9b923975bce32f901f890efb1b8ab1fcc2d1f4677e043feb460bdfbd1232a590abdf88fa9238b2b696659a87796a217eaaab6d1f +DIST shm-1.2.2.tar.gz 25258 SHA256 5d733f61b26c2b71e46add5db6a74b50cb88e7339a30d91931bd10b85ddc8189 SHA512 d3da728d7c314b208b235490ae45b9f9ed4e7ac5c233867844b842ee511e50b684c52e75cc9258d0f65aa93ff2b10bca6a4bebfa6aef9b43d07ab284c0cab2a6 WHIRLPOOL 77c4ceb2e666aa3fa412de80dd25712d81d48cc859e1a2d993a08f82644dbbcee439396dc7a06a53dd408b3d38ee053399e23d8c5e3e82e437bfacd6300bbc1b +EBUILD shm-1.2.2-r1.ebuild 662 SHA256 54d3deaf8abb47629868db61c048238321f755afbf7b836243e6499965b62df4 SHA512 457cbd2b5ad0c9357297e9b83ff2ecafead74befa755fea99cc2d326cc179833a89a555d512c16b8bf166af40a16ae20112d9e15b5bfc1abd16d2a4800b68522 WHIRLPOOL 0bde4a1368c11fc85fc3331ae9752cd45d0317113de19889f0607d46b2e56900b8ff9d83619b57533ab608960db7e6b35e78347a2551533266a30c6906df6e46 +MISC ChangeLog 2456 SHA256 90f6e818f1bd5480d964b6b8dd8afaa0afd756523b9909c4b87b5f697580e759 SHA512 21958de8f49908ebe6b0cb9d64d0c40536d494e21e2fdcec4af082e2b9583423d3cd804113f8bb1ac4bb8c4a12005e8594e6fc5ce42bbfe94e02661972ac0879 WHIRLPOOL f8a235b9754a217752ed8ab93de493d3a4f38319e18bac05a0779980ee206c55687ae53c9bbd2d24bf33023b3b9e4ce876ab700d319995019bba67fdc2fb165c +MISC ChangeLog-2015 1599 SHA256 da3212a6b81b0c9440cb6bb032cf60ebfc1d5ebb4613ad1040f8c54a53035c48 SHA512 dcafcc6e13dfe5c51ad1d7d581ad999ecf1c407fceb6a222b3a8844448f75b3b58731156798c5fbc690d2fa20cf54323bd4b8c2da4faa2488f987a95158a4ba4 WHIRLPOOL 19a42dca7c1c033cc2f40f4457165795b2a2fe4e89fd0b9ab40a31e22e2c4edffcb07e5f88c2ee335972e6a8cb5d4bde87e6333f366d73cc224bf68c0320ce56 +MISC metadata.xml 236 SHA256 4709fa7f17a11d5eae6dd884b488d3c6eb8f85e9b63fe3684b4f234d3b9b14a9 SHA512 0f2c2a0401b53543eac90eafdd4d11c5913be07f47b968e2892ca92c265adbd9564f02a491ff2607d7031194ba3e50c7720851537341b1541120821c487147a3 WHIRLPOOL d73790bb41c2cefb5e2f7b163fc95a79b9674d9808ca34cef58fbc8c5a765023a0be285508a2e7f5f70eadc5725cf8d63553d599e4b367f52fac3374de347abb diff --git a/dev-python/shm/files/shm-1.2.2-compiler.patch b/dev-python/shm/files/shm-1.2.2-compiler.patch new file mode 100644 index 000000000000..e9e1bd22a3a1 --- /dev/null +++ b/dev-python/shm/files/shm-1.2.2-compiler.patch @@ -0,0 +1,11 @@ +--- setup.py 2010-06-26 03:29:30.000000000 +0200 ++++ setup.py 2010-06-26 03:30:10.000000000 +0200 +@@ -84,7 +84,7 @@ + filename = "%d.c" % i + file(path + filename, "w").write(src % ('_' * i)) + +- cmd = ["cc", "-c", "-o", "/dev/null", "%s" % path + filename] ++ cmd = [os.environ.get("CC", "cc"), "-c", "-o", "/dev/null", "%s" % path + filename] + + po = popen2.Popen4(cmd) + if not po.wait(): underscores[i] = True diff --git a/dev-python/shm/metadata.xml b/dev-python/shm/metadata.xml new file mode 100644 index 000000000000..9e5274c5b4ae --- /dev/null +++ b/dev-python/shm/metadata.xml @@ -0,0 +1,8 @@ + + + + + python@gentoo.org + Python + + diff --git a/dev-python/shm/shm-1.2.2-r1.ebuild b/dev-python/shm/shm-1.2.2-r1.ebuild new file mode 100644 index 000000000000..5a0f1e3388bd --- /dev/null +++ b/dev-python/shm/shm-1.2.2-r1.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +PYTHON_COMPAT=( python2_7 ) + +inherit distutils-r1 + +DESCRIPTION="Python modules to access System V shared memory and semaphores" +HOMEPAGE="http://nikitathespider.com/python/shm/" +SRC_URI="http://nikitathespider.com/python/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" +IUSE="examples" + +DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" +RDEPEND="" + +PATCHES=( "${FILESDIR}"/${P}-compiler.patch ) + +python_install_all() { + dohtml ReadMe.html + use examples && local EXAMPLES=( demo/. ) + distutils-r1_python_install_all +} -- cgit v1.2.3