summaryrefslogtreecommitdiff
path: root/dev-python/eunuchs
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-python/eunuchs
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-python/eunuchs')
-rw-r--r--dev-python/eunuchs/Manifest6
-rw-r--r--dev-python/eunuchs/eunuchs-20050320.1-r1.ebuild26
-rw-r--r--dev-python/eunuchs/files/eunuchs-20050320.1-python-2.5.patch11
-rw-r--r--dev-python/eunuchs/metadata.xml17
4 files changed, 60 insertions, 0 deletions
diff --git a/dev-python/eunuchs/Manifest b/dev-python/eunuchs/Manifest
new file mode 100644
index 000000000000..aa3bc01cbec4
--- /dev/null
+++ b/dev-python/eunuchs/Manifest
@@ -0,0 +1,6 @@
+AUX eunuchs-20050320.1-python-2.5.patch 262 SHA256 85fdab2e42a9b3b827c31f724ec2273b3c5f71aea48174e5d18d30eb88bb4e64 SHA512 43d026c6a00d8ff660b07ee8bd4e7cb635cc5778d6c87054f90ba95e48c61abac874756fba111caa399da9d812ff1784b822a6214b10c94559674c2917df8ff2 WHIRLPOOL 6265b172a13293763eda66ad876b3731afdeeb558408a383a38a209b33f68cf0891b185c7c29623028a4fd3550abdfad7912df9e522d2f5c638cf9275f15b804
+DIST eunuchs_20050320.1.tar.gz 8448 SHA256 2ca782d49b4065b37226f2a3f839e73d5d4c78d661ec9d2cf6219887135f9408 SHA512 b3272de7ac2a41c2c632aa17424dcc74ef3b6d536be5684bd54e4f22ce2d7c6546ac7b1b7cef2611f00b467780b11a30eca9c8804c0f8839a13adff6894ce88d WHIRLPOOL 7b39613719bbb0c228a7702fdfe56a96d8e90057dabb9c4a1abe56f8c590524275dc321d92f10eb78990480b12f87115d2f93c016b35c4320ea4bed2727321da
+EBUILD eunuchs-20050320.1-r1.ebuild 643 SHA256 af07fd3864d17ec9358117505f2e1b28a66071ef68156fc272c49236da5a6486 SHA512 ce9568f69fd9fd8644c9a2dd6e31d6e589f50ad5407b23d6114b820da3d76c3e056187f8dfe34d7c4efa342806b3a1b697c5f9a932e08a2011f2ac7abd2dac82 WHIRLPOOL 78d13a1d6bd9fc678f05bc91b25494dbf6288332937e242579684f232487cee8080ebb3d9321db37aaf08864f9e0120f9d0efdf4b4295561050a6bd093cce4f3
+MISC ChangeLog 2642 SHA256 2ad8a75273a9de2bbc5bfab7048a720f630f679731d11e96e695f6ee584d667e SHA512 4b4baa04ade83ff4d218f3da066f31ff75c00c850273cc0b2962982167600c580e108ac22c242dc1cbd3632af7b2e33418f1d4b0692999e52927de8f25527d9f WHIRLPOOL f77e87966a60e3067c9a477c566f8b0cdab5586ee2669c49dbe715f0eb1d8820f371154a2dd1fe3fd9fc45f2d2a2040753384fa0e364e87544cdc056265bc281
+MISC ChangeLog-2015 2198 SHA256 b4e93fcce9f02c808810f7df6d98d372043fe7d3471172a1e8de48b3c4a40f0a SHA512 8d8103024902416d4de4f689f821e68a47fde208ecffc28d6342a9f611d0d39af88d8ce8f6d6fbbfdd912d4ae86bce0ba2c74d326f55749c8486429f73066e35 WHIRLPOOL 84c0158a9f72c244cb3ac0da231260bfbf91ae8d7246886b6df2486835687cfbf1c014fc2a99d833d606b40c7e7382325fceee2b199a1d3c015a8a2816c74b2c
+MISC metadata.xml 658 SHA256 6d42a9fbe7014f5d9ce764d936c761036b880aa33ed6e1fa172296d1f6d898d8 SHA512 92618daf26770efe92b1809e150401c0e5d8e987bcb1d1b497f7a9e1eddc39ee08ef0c393d17009c76dd4460ec778f50c6f540bbd89ad681c34d59423f8120c4 WHIRLPOOL 54932bb958e6ede88a57e9da9860e4f451c1a5d413a0fa846441ef0ddbeb0f5fbab9e81e635686edc2212d5ce53e3ead1bcf30c0a619cbd7ee8403dfe4b439ee
diff --git a/dev-python/eunuchs/eunuchs-20050320.1-r1.ebuild b/dev-python/eunuchs/eunuchs-20050320.1-r1.ebuild
new file mode 100644
index 000000000000..a599913c9135
--- /dev/null
+++ b/dev-python/eunuchs/eunuchs-20050320.1-r1.ebuild
@@ -0,0 +1,26 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+PYTHON_COMPAT=( python2_7 pypy )
+
+inherit distutils-r1 eutils
+
+DESCRIPTION="Missing manly parts of UNIX API for Python"
+HOMEPAGE="http://www.inoi.fi/open/trac/eunuchs https://pypi.python.org/pypi/python-eunuchs"
+SRC_URI="mirror://debian/pool/main/e/${PN}/${PN}_${PV}.tar.gz"
+
+LICENSE="LGPL-2"
+SLOT="0"
+KEYWORDS="amd64 arm ia64 x86"
+IUSE=""
+
+DEPEND=""
+RDEPEND=""
+
+PATCHES=( "${FILESDIR}/${P}-python-2.5.patch" )
+DOCS=( examples/ )
+
+python_test() {
+ ${PYTHON} examples/test-socketpair.py || die "Tests failed with ${EPYTHON}"
+}
diff --git a/dev-python/eunuchs/files/eunuchs-20050320.1-python-2.5.patch b/dev-python/eunuchs/files/eunuchs-20050320.1-python-2.5.patch
new file mode 100644
index 000000000000..dfad7a8dce79
--- /dev/null
+++ b/dev-python/eunuchs/files/eunuchs-20050320.1-python-2.5.patch
@@ -0,0 +1,11 @@
+--- lib/eunuchs/sendmsg.c
++++ lib/eunuchs/sendmsg.c
+@@ -101,7 +101,7 @@
+ real_controllen += CMSG_SPACE(sizeof *info);
+ } else {
+ char *data;
+- int len;
++ Py_ssize_t len;
+
+ if (PyString_AsStringAndSize(rest, &data, &len))
+ return NULL; // TODO leaks
diff --git a/dev-python/eunuchs/metadata.xml b/dev-python/eunuchs/metadata.xml
new file mode 100644
index 000000000000..6f09877002a5
--- /dev/null
+++ b/dev-python/eunuchs/metadata.xml
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>python@gentoo.org</email>
+ <name>Python</name>
+ </maintainer>
+ <longdescription lang="en">
+ Eunuchs is a library of Python extensions that complement the
+ standard libraries in parts where full support for the UNIX API (or
+ the Linux API) is missing.
+
+ Most of the functions wrapped by Eunuchs are low-level, dirty, but
+ absolutely necessary functions for real systems programming. The aim
+ is to have the functions added to mainstream Python libraries.
+ </longdescription>
+</pkgmetadata>