public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/proj/guru:dev commit in: dev-util/upstream-ontologist/
@ 2023-06-14 13:06 Anna Vyalkova
  0 siblings, 0 replies; 3+ messages in thread
From: Anna Vyalkova @ 2023-06-14 13:06 UTC (permalink / raw
  To: gentoo-commits

commit:     a0b018ae344ed7ea86daa89448283d004280027d
Author:     Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
AuthorDate: Wed Jun 14 13:04:22 2023 +0000
Commit:     Anna Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
CommitDate: Wed Jun 14 13:06:17 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=a0b018ae

dev-util/upstream-ontologist: new package, add 0.1.35

Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq.in>

 dev-util/upstream-ontologist/Manifest              |  1 +
 dev-util/upstream-ontologist/metadata.xml          | 16 ++++++
 .../upstream-ontologist-0.1.35.ebuild              | 58 ++++++++++++++++++++++
 3 files changed, 75 insertions(+)

diff --git a/dev-util/upstream-ontologist/Manifest b/dev-util/upstream-ontologist/Manifest
new file mode 100644
index 000000000..3202edfe1
--- /dev/null
+++ b/dev-util/upstream-ontologist/Manifest
@@ -0,0 +1 @@
+DIST upstream-ontologist-0.1.35.tar.gz 102643 BLAKE2B 283586371d1113622461fca67cc5b97710bb3e2c1c365e5c3727478f9d6b4ce8651d92439356b94ba923edcc9b66ddeebd654174030b48067b78b78ee383281e SHA512 0d6fde02143a59588115f1da9d8d20672d8b271cecb297a72d5ebf85c3e55880b9c9576070524139f790207843e08749e0a20f9add1b4108f6d2bedd52cdd166

diff --git a/dev-util/upstream-ontologist/metadata.xml b/dev-util/upstream-ontologist/metadata.xml
new file mode 100644
index 000000000..31baadb5c
--- /dev/null
+++ b/dev-util/upstream-ontologist/metadata.xml
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<maintainer type="person">
+		<email>cyber+gentoo@sysrq.in</email>
+		<name>Anna</name>
+	</maintainer>
+	<upstream>
+			<maintainer>
+					<name>Jelmer Vernooij</name>
+					<email>jelmer@jelmer.uk</email>
+			</maintainer>
+			<remote-id type="pypi">upstream-ontologist</remote-id>
+			<remote-id type="github">jelmer/upstream-ontologist</remote-id>
+	</upstream>
+</pkgmetadata>

diff --git a/dev-util/upstream-ontologist/upstream-ontologist-0.1.35.ebuild b/dev-util/upstream-ontologist/upstream-ontologist-0.1.35.ebuild
new file mode 100644
index 000000000..621304ac2
--- /dev/null
+++ b/dev-util/upstream-ontologist/upstream-ontologist-0.1.35.ebuild
@@ -0,0 +1,58 @@
+# Copyright 2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_10 )
+DISTUTILS_USE_PEP517=setuptools
+PYPI_NO_NORMALIZE=1
+inherit edo distutils-r1 optfeature pypi
+
+DESCRIPTION="Tracking of upstream project metadata"
+HOMEPAGE="
+	https://pypi.org/project/upstream-ontologist/
+	https://github.com/jelmer/upstream-ontologist
+"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RDEPEND="
+	dev-python/python-debian[${PYTHON_USEDEP}]
+	dev-python/ruamel-yaml[${PYTHON_USEDEP}]
+	dev-vcs/breezy[${PYTHON_USEDEP}]
+"
+BDEPEND="
+	test? (
+		dev-python/beautifulsoup4[${PYTHON_USEDEP}]
+		dev-python/docutils[${PYTHON_USEDEP}]
+		dev-python/lxml[${PYTHON_USEDEP}]
+		dev-python/markdown[${PYTHON_USEDEP}]
+		dev-python/pygments[${PYTHON_USEDEP}]
+		dev-python/tomlkit[${PYTHON_USEDEP}]
+	)
+"
+
+distutils_enable_tests unittest
+
+python_test() {
+	edo ${EPYTHON} -m unittest_or_fail tests.test_debian -v
+	edo ${EPYTHON} -m unittest_or_fail tests.test_guess -v
+	edo ${EPYTHON} -m unittest_or_fail tests.test_upstream_ontologist -v
+	edo ${EPYTHON} -m unittest_or_fail tests.test_vcs -v
+
+	edo ${EPYTHON} -m unittest_or_fail tests.test_readme.test_suite -v
+	#edo ${EPYTHON} -m unittest_or_fail tests.testdata.test_suite -v
+}
+
+src_install() {
+	distutils-r1_src_install
+	doman man/*
+	dodoc docs/*
+}
+
+pkg_postinst() {
+	optfeature "homepage parsing support" dev-python/beautifulsoup4
+	optfeature "toml support" dev-python/tomlkit
+}


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

* [gentoo-commits] repo/proj/guru:dev commit in: dev-util/upstream-ontologist/
@ 2023-07-23 21:43 Anna Vyalkova
  0 siblings, 0 replies; 3+ messages in thread
From: Anna Vyalkova @ 2023-07-23 21:43 UTC (permalink / raw
  To: gentoo-commits

commit:     7e8256c8592a3c2bf5990a89ccd1bcfd9cda021d
Author:     Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
AuthorDate: Sun Jul 23 21:35:21 2023 +0000
Commit:     Anna Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
CommitDate: Sun Jul 23 21:43:25 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=7e8256c8

dev-util/upstream-ontologist: switch to single-impl python

Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq.in>

 ...ebuild => upstream-ontologist-0.1.35-r1.ebuild} | 26 +++++++++++++---------
 1 file changed, 16 insertions(+), 10 deletions(-)

diff --git a/dev-util/upstream-ontologist/upstream-ontologist-0.1.35.ebuild b/dev-util/upstream-ontologist/upstream-ontologist-0.1.35-r1.ebuild
similarity index 68%
rename from dev-util/upstream-ontologist/upstream-ontologist-0.1.35.ebuild
rename to dev-util/upstream-ontologist/upstream-ontologist-0.1.35-r1.ebuild
index 621304ac2..f1c64cbf5 100644
--- a/dev-util/upstream-ontologist/upstream-ontologist-0.1.35.ebuild
+++ b/dev-util/upstream-ontologist/upstream-ontologist-0.1.35-r1.ebuild
@@ -3,8 +3,9 @@
 
 EAPI=8
 
-PYTHON_COMPAT=( python3_10 )
+PYTHON_COMPAT=( python3_{10..11} )
 DISTUTILS_USE_PEP517=setuptools
+DISTUTILS_SINGLE_IMPL=1
 PYPI_NO_NORMALIZE=1
 inherit edo distutils-r1 optfeature pypi
 
@@ -19,18 +20,22 @@ SLOT="0"
 KEYWORDS="~amd64"
 
 RDEPEND="
-	dev-python/python-debian[${PYTHON_USEDEP}]
-	dev-python/ruamel-yaml[${PYTHON_USEDEP}]
-	dev-vcs/breezy[${PYTHON_USEDEP}]
+	$(python_gen_cond_dep '
+		dev-python/python-debian[${PYTHON_USEDEP}]
+		dev-python/ruamel-yaml[${PYTHON_USEDEP}]
+	')
+	dev-vcs/breezy[${PYTHON_SINGLE_USEDEP}]
 "
 BDEPEND="
 	test? (
-		dev-python/beautifulsoup4[${PYTHON_USEDEP}]
-		dev-python/docutils[${PYTHON_USEDEP}]
-		dev-python/lxml[${PYTHON_USEDEP}]
-		dev-python/markdown[${PYTHON_USEDEP}]
-		dev-python/pygments[${PYTHON_USEDEP}]
-		dev-python/tomlkit[${PYTHON_USEDEP}]
+		$(python_gen_cond_dep '
+			dev-python/beautifulsoup4[${PYTHON_USEDEP}]
+			dev-python/docutils[${PYTHON_USEDEP}]
+			dev-python/lxml[${PYTHON_USEDEP}]
+			dev-python/markdown[${PYTHON_USEDEP}]
+			dev-python/pygments[${PYTHON_USEDEP}]
+			dev-python/tomlkit[${PYTHON_USEDEP}]
+		')
 	)
 "
 
@@ -48,6 +53,7 @@ python_test() {
 
 src_install() {
 	distutils-r1_src_install
+
 	doman man/*
 	dodoc docs/*
 }


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

* [gentoo-commits] repo/proj/guru:dev commit in: dev-util/upstream-ontologist/
  2024-05-14 20:12 [gentoo-commits] repo/proj/guru:master " Julien Roy
@ 2024-05-14 20:07 ` Julien Roy
  0 siblings, 0 replies; 3+ messages in thread
From: Julien Roy @ 2024-05-14 20:07 UTC (permalink / raw
  To: gentoo-commits

commit:     4190ada40ec6bc93bb0b4159df983cc6d10f3f90
Author:     Julien Roy <julien <AT> jroy <DOT> ca>
AuthorDate: Tue May 14 19:29:24 2024 +0000
Commit:     Julien Roy <julien <AT> jroy <DOT> ca>
CommitDate: Tue May 14 19:33:16 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=4190ada4

dev-util/upstream-ontologist: enable py3.12

Closes: https://bugs.gentoo.org/931451
Signed-off-by: Julien Roy <julien <AT> jroy.ca>

 dev-util/upstream-ontologist/upstream-ontologist-0.1.35-r1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-util/upstream-ontologist/upstream-ontologist-0.1.35-r1.ebuild b/dev-util/upstream-ontologist/upstream-ontologist-0.1.35-r1.ebuild
index f1c64cbf59..47b6783b8a 100644
--- a/dev-util/upstream-ontologist/upstream-ontologist-0.1.35-r1.ebuild
+++ b/dev-util/upstream-ontologist/upstream-ontologist-0.1.35-r1.ebuild
@@ -1,9 +1,9 @@
-# Copyright 2023 Gentoo Authors
+# Copyright 2023-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
 
-PYTHON_COMPAT=( python3_{10..11} )
+PYTHON_COMPAT=( python3_{10..12} )
 DISTUTILS_USE_PEP517=setuptools
 DISTUTILS_SINGLE_IMPL=1
 PYPI_NO_NORMALIZE=1


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

end of thread, other threads:[~2024-05-14 20:07 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-06-14 13:06 [gentoo-commits] repo/proj/guru:dev commit in: dev-util/upstream-ontologist/ Anna Vyalkova
  -- strict thread matches above, loose matches on Subject: below --
2023-07-23 21:43 Anna Vyalkova
2024-05-14 20:12 [gentoo-commits] repo/proj/guru:master " Julien Roy
2024-05-14 20:07 ` [gentoo-commits] repo/proj/guru:dev " Julien Roy

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