dev-python/rchitect: initial import

Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
This commit is contained in:
Alessandro Barbieri
2022-04-14 17:34:44 +02:00
parent df63038b8a
commit 2f93d25217
4 changed files with 60 additions and 0 deletions

View File

@@ -0,0 +1 @@
DIST rchitect-0.3.36.tar.gz 32682 BLAKE2B dbd9dec8d60f0b3558d0b8fac5c3a02e5ce210778b941b4cd994ee7f815205a34897605a8a7cd29e96791f223ba9d611bdf3064b93f13647c98084e9d07747bc SHA512 53b9cd3cc5cd566d39e74fd70dcb9b6eeb259885b57dde6c42beaea775db07b12f0745abc996218d0df0522d3db39919e953eb1bc13b8e89f69f583b6323476c

View File

@@ -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": [

View File

@@ -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>lssndrbarbieri@gmail.com</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>randy.cs.lai@gmail.com</email>
<name>Randy Lai</name>
</maintainer>
</upstream>
</pkgmetadata>

View File

@@ -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