public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] proj/sci:master commit in: dev-python/cymbal/
@ 2021-07-18  8:35 Andrew Ammerlaan
  0 siblings, 0 replies; 2+ messages in thread
From: Andrew Ammerlaan @ 2021-07-18  8:35 UTC (permalink / raw
  To: gentoo-commits

commit:     8ad95fd59b9ddc57dcf6c484d27f85af946b8f83
Author:     leycec <leycec <AT> gmail <DOT> com>
AuthorDate: Fri Jul 16 07:07:34 2021 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Sun Jul 18 08:34:33 2021 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=8ad95fd5

dev-python/cymbal: add

add cymbal, a mandatory dependency of CadQuery pywrap

Signed-off-by: Cecil Curry <leycec <AT> gmail.com>
Closes: https://github.com/gentoo/sci/pull/1098
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>

 dev-python/cymbal/cymbal-1.0.0.ebuild | 34 ++++++++++++++++++++++++++++++++++
 dev-python/cymbal/metadata.xml        | 13 +++++++++++++
 2 files changed, 47 insertions(+)

diff --git a/dev-python/cymbal/cymbal-1.0.0.ebuild b/dev-python/cymbal/cymbal-1.0.0.ebuild
new file mode 100644
index 000000000..a16fcd44c
--- /dev/null
+++ b/dev-python/cymbal/cymbal-1.0.0.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..10} )
+
+inherit distutils-r1
+
+DESCRIPTION="Add functionality missing from the python libclang bindings"
+HOMEPAGE="https://pypi.org/project/cymbal"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+DEPEND="dev-python/clang-python[${PYTHON_USEDEP}]"
+RDEPEND="${DEPEND}"
+
+distutils_enable_tests pytest
+
+# Prevent "setup.py" from installing the "tests" package.
+src_prepare() {
+	sed -i -e 's~\(packages     = \)find_packages(),~\1["cymbal"],~' \
+		setup.py || die
+
+	default_src_prepare
+}
+
+# Omit "test_class_template_arg", failing due to outdated clang assumptions.
+python_test() {
+	pytest -k 'not test_class_template_arg' || die
+}

diff --git a/dev-python/cymbal/metadata.xml b/dev-python/cymbal/metadata.xml
new file mode 100644
index 000000000..02975a0d9
--- /dev/null
+++ b/dev-python/cymbal/metadata.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<maintainer type="project">
+		<email>sci@gentoo.org</email>
+		<name>Gentoo Science Project</name>
+	</maintainer>
+	<stabilize-allarches/>
+	<upstream>
+		<remote-id type="pypi">cymbal</remote-id>
+		<remote-id type="github">AndrewWalker/cymbal</remote-id>
+	</upstream>
+</pkgmetadata>


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [gentoo-commits] proj/sci:master commit in: dev-python/cymbal/
@ 2023-05-22 13:12 Andrew Ammerlaan
  0 siblings, 0 replies; 2+ messages in thread
From: Andrew Ammerlaan @ 2023-05-22 13:12 UTC (permalink / raw
  To: gentoo-commits

commit:     2f7e77780a0b19570e9c3845628671b971d219a8
Author:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
AuthorDate: Mon May 22 13:04:45 2023 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Mon May 22 13:12:33 2023 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=2f7e7778

dev-python/cymbal: update HOMEPAGE, SRC_URI

Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>

 dev-python/cymbal/cymbal-1.0.0.ebuild | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/dev-python/cymbal/cymbal-1.0.0.ebuild b/dev-python/cymbal/cymbal-1.0.0.ebuild
index bada7bbe6..c5d9eec8e 100644
--- a/dev-python/cymbal/cymbal-1.0.0.ebuild
+++ b/dev-python/cymbal/cymbal-1.0.0.ebuild
@@ -4,12 +4,10 @@
 EAPI=8
 
 PYTHON_COMPAT=( python3_10 )
-
-inherit distutils-r1
+inherit distutils-r1 pypi
 
 DESCRIPTION="Add functionality missing from the python libclang bindings"
-HOMEPAGE="https://pypi.org/project/cymbal"
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+HOMEPAGE="https://pypi.org/project/cymbal/"
 
 LICENSE="MIT"
 SLOT="0"


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-05-22 13:12 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-07-18  8:35 [gentoo-commits] proj/sci:master commit in: dev-python/cymbal/ Andrew Ammerlaan
  -- strict thread matches above, loose matches on Subject: below --
2023-05-22 13:12 Andrew Ammerlaan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox