mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-20 22:27:17 -08:00
dev-python/fdsend: re-add newer upstream version, needed for ganeti
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
This commit is contained in:
@@ -0,0 +1 @@
|
||||
DIST fdsend-0.3.0.tar.gz 14988 BLAKE2B dc80885a4f69bc00bf02ba64377b3638354685d3f5290376bc808916f4bd912293d39babe7dbd27b04d0580823734403ac01033ca89423d7803c79bab827864e SHA512 f3b9ad3f74439f10e6938672a6d391ac33298f49cc32e14bbaf1c1efc7ebfae09b2ac5d73296dae3085c2da5debeb7ad50d9591c50c42dd5f584b138f3bb4bb6
|
||||
@@ -0,0 +1,30 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
PYTHON_COMPAT=( python2_7 python3_{6,7,8,9,10,11} pypy3 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="flexible file descriptor passing"
|
||||
HOMEPAGE="https://github.com/fknittel/python-fdsend/"
|
||||
SRC_URI="https://github.com/fknittel/python-fdsend/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
DEPEND+=" test? ( dev-python/unittest-or-fail )"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
S="${WORKDIR}/python-${P}"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-0.3.0-2to3.patch
|
||||
)
|
||||
|
||||
distutils_enable_tests unittest
|
||||
|
||||
python_prepare_all() {
|
||||
2to3 . || die
|
||||
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
Newer setuptools dropped 2to3 support, so let's call it in the ebuild instead.
|
||||
--- a/setup.py
|
||||
+++ b/setup.py
|
||||
@@ -7,8 +7,6 @@ try:
|
||||
setupopts = {
|
||||
'test_suite':"fdsend.tests",
|
||||
}
|
||||
- if sys.version_info >= (3,):
|
||||
- setupopts['use_2to3'] = True
|
||||
except ImportError:
|
||||
from distutils.core import setup
|
||||
setupopts = {}
|
||||
@@ -0,0 +1,13 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>robbat2@gentoo.org</email>
|
||||
<name>Robin H. Johnson</name>
|
||||
</maintainer>
|
||||
<maintainer type="project">
|
||||
<email>infra@gentoo.org</email>
|
||||
<name>Gentoo Infrastructure Team</name>
|
||||
</maintainer>
|
||||
<!-- dependency for app-emulation/ganeti, used by infra -->
|
||||
</pkgmetadata>
|
||||
Reference in New Issue
Block a user