summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2022-06-30 22:21:23 +0000
committerSam James <sam@gentoo.org>2022-06-30 22:21:33 +0000
commite2bd26a0fdf660a7c6f0d20bd307ec441ecf49f5 (patch)
tree0eacaab0e76e0e80332ccc015984a074150d1662 /dev-python/pycapnp
parentdev-python/pypam: treeclean (diff)
downloadgentoo-e2bd26a0fdf660a7c6f0d20bd307ec441ecf49f5.tar.gz
gentoo-e2bd26a0fdf660a7c6f0d20bd307ec441ecf49f5.tar.bz2
gentoo-e2bd26a0fdf660a7c6f0d20bd307ec441ecf49f5.zip
dev-python/pycapnp: treeclean
Bug: https://bugs.gentoo.org/798204 Bug: https://bugs.gentoo.org/822540 Bug: https://bugs.gentoo.org/845783 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-python/pycapnp')
-rw-r--r--dev-python/pycapnp/Manifest1
-rw-r--r--dev-python/pycapnp/files/sdist.patch13
-rw-r--r--dev-python/pycapnp/metadata.xml13
-rw-r--r--dev-python/pycapnp/pycapnp-0.6.4.ebuild36
4 files changed, 0 insertions, 63 deletions
diff --git a/dev-python/pycapnp/Manifest b/dev-python/pycapnp/Manifest
deleted file mode 100644
index bd496a53f8ee..000000000000
--- a/dev-python/pycapnp/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST pycapnp-0.6.4.tar.gz 531404 BLAKE2B 035e0f37292275af8d5e292cb98f85f3d40ffe6284c0defecdb6d0c79afac97e4570e0042c0be6716a992ab904b844c9f046c5795b97cd8b7dd7625af1b2b219 SHA512 3f2c9d93bcf226fb39ef233b8b5fbc86af73d796986e82b897a571db5d8223fb4f65cc28a8bf4ed57b787b6e5defdca70388ac865f036daff48d6d6f93cbbfc3
diff --git a/dev-python/pycapnp/files/sdist.patch b/dev-python/pycapnp/files/sdist.patch
deleted file mode 100644
index e4ef16ec5699..000000000000
--- a/dev-python/pycapnp/files/sdist.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-Index: pycapnp-0.6.4/setup.py
-===================================================================
---- pycapnp-0.6.4.orig/setup.py
-+++ pycapnp-0.6.4/setup.py
-@@ -49,7 +49,7 @@ try:
- changelog = '\nChangelog\n=============\n' + changelog
- long_description += changelog
- except (IOError, ImportError):
-- if sys.argv[2] == 'sdist':
-+ if len(sys.argv) > 2 and sys.argv[2] == 'sdist':
- raise
- long_description = ''
-
diff --git a/dev-python/pycapnp/metadata.xml b/dev-python/pycapnp/metadata.xml
deleted file mode 100644
index 7b9b669e8cb2..000000000000
--- a/dev-python/pycapnp/metadata.xml
+++ /dev/null
@@ -1,13 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="person">
- <email>aballier@gentoo.org</email>
- <name>Alexis Ballier</name>
- <description>Python team can take the package if they wish.</description>
- </maintainer>
- <upstream>
- <remote-id type="pypi">pycapnp</remote-id>
- <remote-id type="github">capnproto/pycapnp</remote-id>
- </upstream>
-</pkgmetadata>
diff --git a/dev-python/pycapnp/pycapnp-0.6.4.ebuild b/dev-python/pycapnp/pycapnp-0.6.4.ebuild
deleted file mode 100644
index bfbc35732df3..000000000000
--- a/dev-python/pycapnp/pycapnp-0.6.4.ebuild
+++ /dev/null
@@ -1,36 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{7,8,9} )
-
-inherit distutils-r1
-
-DESCRIPTION="Python wrapping of the Cap'n Proto library"
-HOMEPAGE="http://jparyani.github.io/pycapnp/ https://github.com/capnproto/pycapnp"
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64"
-IUSE=""
-
-RDEPEND=">=dev-libs/capnproto-0.6:="
-DEPEND="${RDEPEND}
- dev-python/cython[${PYTHON_USEDEP}]
-"
-PATCHES=( "${FILESDIR}/sdist.patch" )
-
-src_prepare() {
- distutils-r1_src_prepare
- # regen cython files
- rm -f capnp/lib/capnp.cpp || die
-
- # Need c++14 for capnp 0.7
- sed -e 's/std=c++11/std=c++14/g' \
- -i setup.py \
- -i buildutils/detect.py \
- -i capnp/*/* \
- || die
-}