summaryrefslogtreecommitdiff
path: root/dev-python/PeachPy
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-06-29 12:04:12 +0100
committerV3n3RiX <venerix@koprulu.sector>2022-06-29 12:04:12 +0100
commit0f558761aa2dee1017b4751e4017205e015a9560 (patch)
tree037df795519468a25d9362b4e95cdaeb84eb1cf9 /dev-python/PeachPy
parent752d6256e5204b958b0ef7905675a940b5e9172f (diff)
gentoo resync : 29.12.2022
Diffstat (limited to 'dev-python/PeachPy')
-rw-r--r--dev-python/PeachPy/Manifest4
-rw-r--r--dev-python/PeachPy/PeachPy-2021.10.13.ebuild31
-rw-r--r--dev-python/PeachPy/files/PeachPy-2021.10.13-gentoo.patch11
-rw-r--r--dev-python/PeachPy/metadata.xml11
4 files changed, 57 insertions, 0 deletions
diff --git a/dev-python/PeachPy/Manifest b/dev-python/PeachPy/Manifest
new file mode 100644
index 000000000000..6a40b9420f1f
--- /dev/null
+++ b/dev-python/PeachPy/Manifest
@@ -0,0 +1,4 @@
+AUX PeachPy-2021.10.13-gentoo.patch 457 BLAKE2B 73fff8ade853b5a4e8d02bd129a5c8a18a1f5b5516cdc4a5ffa4d114b8deb07cf1cef450b63e2db7dd3888b2afbb81a541180a785af6944e79880be03d2a69e0 SHA512 64c4dc1ebe5ec4166bc225bec5d596ad59e2fa162cd7037e83e2d72bded38d79d0d69534d8163a92a9ad9d845d75f2396a53328a8287c5df34615902c7467c0c
+DIST PeachPy-2021.10.13.tar.gz 248855 BLAKE2B 5f8e7845dfa7327c62e6a953505260645ca29dc762dcb3ffd971a6a07c81f259776286c12c2147e980ae43f77d3ce060a87201e2189123290845f6543c74775f SHA512 c6370de8da9152e812702a3bb53592cba89ee24fdfbeaa87d49374bad7b2d79c60e54bac17a29d861f5881f4ce076f2fe96bff378ef31bdf3cbc6bc5093f6f3d
+EBUILD PeachPy-2021.10.13.ebuild 757 BLAKE2B 827ddf25f4a321904ed6df87bb2eb01f7cc17c2583c9ac24789f1091f7e3e6803892a17a66ca025398be590e869e84118cdee64a18d3eafb66eac0ca94f0d1b8 SHA512 cf5da1a02de94e9b680b6d31e99f489ca1b9665c57fd4ce9b6bc7e9f33fe8c7599fdb4c00947ed9549ad68f9d4b6887ea8ca957f1687c5142de27707c1e9e75c
+MISC metadata.xml 332 BLAKE2B ed80d3acf70efd7c986c87badb69b4dc0585c3f09711d36127394b0c3af596c98b732a1b7a6754ccb4f821b9a992031043cb55231716343bdcb834c5a993368e SHA512 81264cc007a6cefe59d64a3bc3b242e48820b8a00772885115b5432f8163533aaf7961cda5d6e34bcc1cae5c44c3d839507f241af611351e98303b5f1c7af676
diff --git a/dev-python/PeachPy/PeachPy-2021.10.13.ebuild b/dev-python/PeachPy/PeachPy-2021.10.13.ebuild
new file mode 100644
index 000000000000..5e09b4102df9
--- /dev/null
+++ b/dev-python/PeachPy/PeachPy-2021.10.13.ebuild
@@ -0,0 +1,31 @@
+# Copyright 2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{8..10} )
+inherit distutils-r1
+
+CommitId=257881e0a7ce985c1cf96653db1264bf09adf510
+
+DESCRIPTION="Portable Efficient Assembly Code-generator in Higher-level Python"
+HOMEPAGE="https://pypi.org/project/PeachPy/"
+SRC_URI="https://github.com/Maratyszcza/${PN}/archive/${CommitId}.tar.gz
+ -> ${P}.tar.gz"
+
+LICENSE="BSD-2"
+SLOT="0"
+KEYWORDS="~amd64"
+RESTRICT="test" # depends on an old version of werkzeug
+
+RDEPEND="
+ dev-python/Opcodes[${PYTHON_USEDEP}]
+ dev-python/six[${PYTHON_USEDEP}]
+"
+DEPEND="${RDEPEND}"
+BDEPEND=""
+
+S="${WORKDIR}"/${PN}-${CommitId}
+
+PATCHES=( "${FILESDIR}"/${P}-gentoo.patch )
diff --git a/dev-python/PeachPy/files/PeachPy-2021.10.13-gentoo.patch b/dev-python/PeachPy/files/PeachPy-2021.10.13-gentoo.patch
new file mode 100644
index 000000000000..c5ecab041a76
--- /dev/null
+++ b/dev-python/PeachPy/files/PeachPy-2021.10.13-gentoo.patch
@@ -0,0 +1,11 @@
+--- a/setup.py 2022-05-15 19:33:42.938456878 +0200
++++ b/setup.py 2022-05-15 19:33:57.869231488 +0200
+@@ -35,7 +35,7 @@
+ def run(self):
+ # package_dir may be None, in that case use the current directory.
+ import os
+- if self.distribution.package_dir is None:
++ if not self.distribution.package_dir:
+ src_dir = os.getcwd()
+ else:
+ src_dir = os.path.abspath(self.distribution.package_dir[""])
diff --git a/dev-python/PeachPy/metadata.xml b/dev-python/PeachPy/metadata.xml
new file mode 100644
index 000000000000..c7def3ba0623
--- /dev/null
+++ b/dev-python/PeachPy/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>tupone@gentoo.org</email>
+ <name>Tupone Alfredo</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">Maratyszcza/PeachPy</remote-id>
+ </upstream>
+</pkgmetadata>