commit:     2f93d25217fd33726459395323b98a47c56520fb
Author:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Thu Apr 14 15:34:44 2022 +0000
Commit:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Fri Apr 15 20:34:21 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=2f93d252

dev-python/rchitect: initial import

Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>

 dev-python/rchitect/Manifest                       |  1 +
 .../files/rchitect-0.3.36-no-pytest-runner.patch   | 12 +++++++++
 dev-python/rchitect/metadata.xml                   | 16 +++++++++++
 dev-python/rchitect/rchitect-0.3.36.ebuild         | 31 ++++++++++++++++++++++
 4 files changed, 60 insertions(+)

diff --git a/dev-python/rchitect/Manifest b/dev-python/rchitect/Manifest
new file mode 100644
index 000000000..001644236
--- /dev/null
+++ b/dev-python/rchitect/Manifest
@@ -0,0 +1 @@
+DIST rchitect-0.3.36.tar.gz 32682 BLAKE2B 
dbd9dec8d60f0b3558d0b8fac5c3a02e5ce210778b941b4cd994ee7f815205a34897605a8a7cd29e96791f223ba9d611bdf3064b93f13647c98084e9d07747bc
 SHA512 
53b9cd3cc5cd566d39e74fd70dcb9b6eeb259885b57dde6c42beaea775db07b12f0745abc996218d0df0522d3db39919e953eb1bc13b8e89f69f583b6323476c

diff --git a/dev-python/rchitect/files/rchitect-0.3.36-no-pytest-runner.patch 
b/dev-python/rchitect/files/rchitect-0.3.36-no-pytest-runner.patch
new file mode 100644
index 000000000..41ee0be51
--- /dev/null
+++ b/dev-python/rchitect/files/rchitect-0.3.36-no-pytest-runner.patch
@@ -0,0 +1,12 @@
+--- a/setup.py
++++ b/setup.py
+@@ -44,8 +44,7 @@
+     python_requires='>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*',
+     install_requires=install_requires,
+     setup_requires=[
+-        'cffi>=1.10.0',
+-        "pytest-runner"
++        'cffi>=1.10.0'
+     ],
+     extras_require={
+         "test": [

diff --git a/dev-python/rchitect/metadata.xml b/dev-python/rchitect/metadata.xml
new file mode 100644
index 000000000..0a6791078
--- /dev/null
+++ b/dev-python/rchitect/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>Alessandro Barbieri</name>
+  </maintainer>
+  <upstream>
+    <remote-id type="github">randy3k/rchitect</remote-id>
+    <remote-id type="pypi">rchitect</remote-id>
+    <maintainer status="unknown">
+      <email>[email protected]</email>
+      <name>Randy Lai</name>
+    </maintainer>
+  </upstream>
+</pkgmetadata>

diff --git a/dev-python/rchitect/rchitect-0.3.36.ebuild 
b/dev-python/rchitect/rchitect-0.3.36.ebuild
new file mode 100644
index 000000000..7210f6e6c
--- /dev/null
+++ b/dev-python/rchitect/rchitect-0.3.36.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..9} )
+
+inherit distutils-r1
+
+DESCRIPTION="Interoperate R with Python"
+HOMEPAGE="
+       https://pypi.org/project/rchitect/
+       https://github.com/randy3k/rchitect
+"
+SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RDEPEND=">=dev-python/cffi-1.10.0[${PYTHON_USEDEP}]"
+DEPEND="
+       ${RDEPEND}
+       >=dev-python/six-1.9.0[${PYTHON_USEDEP}]
+       dev-python/wheel[${PYTHON_USEDEP}]
+"
+BDEPEND="test? ( dev-python/pytest-mock[${PYTHON_USEDEP}] )"
+
+PATCHES=( "${FILESDIR}/${P}-no-pytest-runner.patch" )
+
+distutils_enable_tests pytest

Reply via email to