Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

app-shells/radian: add ebuild #1226

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions app-shells/radian/Manifest
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
DIST radian-0.6.9.tar.gz 75168 BLAKE2B 56fb88c3c0a7cbcfd329bd05e44b28585464ddde71b7e48006d503cea76136bb51d89fcac0124b3089de38f01a8a0a300b330710c4e46752c901c0cf9d811d82 SHA512 f5ebd0a66f981fb511ef7b3a607225d81bb2476df66e4f9c0a94d9ab9616f965b471c5215f6bba6679442c0ef36265ebca829e505186bf3fbd6329a48d280ce5
11 changes: 11 additions & 0 deletions app-shells/radian/metadata.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<?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>Michael Schubert</name>
</maintainer>
<upstream>
<remote-id type="github">randy3k/radian</remote-id>
</upstream>
</pkgmetadata>
26 changes: 26 additions & 0 deletions app-shells/radian/radian-0.6.9.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# Copyright 1999-2018 Gentoo Foundation
# 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 21 century R console"
HOMEPAGE="https://github.com/randy3k/radian"
SRC_URI="https://github.com/randy3k/radian/archive/v${PV}.tar.gz -> ${P}.tar.gz"

LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~amd64-linux"

# tests fail but package works fine
RESTRICT="test"

DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
RDEPEND="dev-python/prompt-toolkit[$PYTHON_USEDEP]
dev-python/rchitect[$PYTHON_USEDEP]
dev-python/six[$PYTHON_USEDEP]
dev-lang/R"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These are probably RDEPENDs.

DEPEND is for things we need present during build
BDEPEND is for things we need to execute in order to build
RDEPEND is for things we need during runtime of what we have built

Copy link
Contributor Author

@mschubert mschubert Jan 29, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

They can indeed be REPENDs, fixed

1 change: 1 addition & 0 deletions dev-python/rchitect/Manifest
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
DIST rchitect-0.4.4.gh.tar.gz 36364 BLAKE2B 230fc7aa5e2903bf37f6b44477460ce8e51ea804d7852d427b09fa726d5c2a6f2dbf6f7901dca4be8f4a07afcf85af5cc0533cdc761ae6f160299850347618f4 SHA512 3b16fb4349d674e2cc9b4bfa6e57a7e0c8fb18968c59915f30510a7f24a984f1cfee0c6788fd64e8c7caa67ce989d0e31c9b9b0c714767667ebd15947ce4e8c7
12 changes: 12 additions & 0 deletions dev-python/rchitect/metadata.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<?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>Michael Schubert</name>
</maintainer>
<upstream>
<remote-id type="github">randy3k/rchitect</remote-id>
<remote-id type="pypi">rchitect</remote-id>
</upstream>
</pkgmetadata>
25 changes: 25 additions & 0 deletions dev-python/rchitect/rchitect-0.4.4.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI=8

DISTUTILS_USE_PEP517=setuptools
DISTUTILS_EXT=1
PYTHON_COMPAT=( python3_{10..12} )

inherit distutils-r1

DESCRIPTION="Interoperate R with Python"
HOMEPAGE="https://github.com/randy3k/rchitect"
SRC_URI="https://github.com/randy3k/${PN}/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz"

LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~amd64-linux"

# rchitect._cffi is occluded and causes test error
RESTRICT="test"

DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
RDEPEND="dev-python/cffi[$PYTHON_USEDEP]
dev-python/six[${PYTHON_USEDEP}]"
Loading