commit:     a713b317a1e583b970f6382a464603f100f269b8
Author:     Horea Christian <chr <AT> chymera <DOT> eu>
AuthorDate: Mon May  6 15:10:45 2024 +0000
Commit:     Horea Christian <horea.christ <AT> gmail <DOT> com>
CommitDate: Mon May  6 15:10:45 2024 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=a713b317

dev-python/wirerope: new package, add 0.4.7

Signed-off-by: Horea Christian <chr <AT> chymera.eu>

 .../wirerope/files/wirerope-0.4.7-nocov.patch      | 10 +++++++++
 dev-python/wirerope/metadata.xml                   | 16 +++++++++++++
 dev-python/wirerope/wirerope-0.4.7.ebuild          | 26 ++++++++++++++++++++++
 3 files changed, 52 insertions(+)

diff --git a/dev-python/wirerope/files/wirerope-0.4.7-nocov.patch 
b/dev-python/wirerope/files/wirerope-0.4.7-nocov.patch
new file mode 100644
index 000000000..64d47d0b7
--- /dev/null
+++ b/dev-python/wirerope/files/wirerope-0.4.7-nocov.patch
@@ -0,0 +1,10 @@
+--- a/setup.cfg        2023-02-05 08:00:42.000000000 -0500
++++ b/setup.cfg        2024-05-06 11:01:02.896234948 -0400
+@@ -33,7 +33,6 @@
+     sphinx
+ 
+ [tool:pytest]
+-addopts=--verbose --cov-config .coveragerc --cov wirerope
+ python_files = tests/test_*.py
+ norecursedirs=.git py ci
+ [flake8]

diff --git a/dev-python/wirerope/metadata.xml b/dev-python/wirerope/metadata.xml
new file mode 100644
index 000000000..6e39bae5d
--- /dev/null
+++ b/dev-python/wirerope/metadata.xml
@@ -0,0 +1,16 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd";>
+<pkgmetadata>
+       <maintainer type="person">
+               <email>[email protected]</email>
+               <name>Horea Christian</name>
+       </maintainer>
+       <maintainer type="project">
+               <email>[email protected]</email>
+               <name>Gentoo Science Project</name>
+       </maintainer>
+       <upstream>
+               <remote-id type="github">youknowone/wirerope</remote-id>
+               <remote-id type="pypi">wirerope</remote-id>
+       </upstream>
+</pkgmetadata>

diff --git a/dev-python/wirerope/wirerope-0.4.7.ebuild 
b/dev-python/wirerope/wirerope-0.4.7.ebuild
new file mode 100644
index 000000000..74e7f40bd
--- /dev/null
+++ b/dev-python/wirerope/wirerope-0.4.7.ebuild
@@ -0,0 +1,26 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..12} )
+inherit distutils-r1
+
+DESCRIPTION="A wrapper interface for python callables"
+HOMEPAGE="https://github.com/youknowone/wirerope";
+# Not using PyPI archive because it misses test files:
+# https://github.com/youknowone/wirerope/issues/20
+SRC_URI="https://github.com/youknowone/wirerope/archive/refs/tags/${PV}.tar.gz 
-> ${P}.gh.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="
+       dev-python/six[${PYTHON_USEDEP}]
+"
+
+PATCHES=( "${FILESDIR}/${P}-nocov.patch" )
+
+distutils_enable_tests pytest

Reply via email to