diff --git a/dev-python/rchitect/Manifest b/dev-python/rchitect/Manifest new file mode 100644 index 0000000000..0016442365 --- /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 0000000000..41ee0be51f --- /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 0000000000..0a6791078c --- /dev/null +++ b/dev-python/rchitect/metadata.xml @@ -0,0 +1,16 @@ + + + + + lssndrbarbieri@gmail.com + Alessandro Barbieri + + + randy3k/rchitect + rchitect + + randy.cs.lai@gmail.com + Randy Lai + + + 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 0000000000..7210f6e6c2 --- /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