public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Ulrich Müller" <ulm@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/pkgcore/files/, sys-apps/pkgcore/
Date: Fri, 24 Nov 2023 16:49:42 +0000 (UTC)	[thread overview]
Message-ID: <1700844578.819eb93c683a4d6fa7c81da8bddb6fef017d4394.ulm@gentoo> (raw)

commit:     819eb93c683a4d6fa7c81da8bddb6fef017d4394
Author:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Fri Nov 24 16:43:38 2023 +0000
Commit:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Fri Nov 24 16:49:38 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=819eb93c

sys-apps/pkgcore: Sync metadata.xsd from xml-schema

Acked-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org>

 .../files/pkgcore-0.12.23-metadata-xsd.patch       | 16 +++++++
 sys-apps/pkgcore/pkgcore-0.12.23-r1.ebuild         | 49 ++++++++++++++++++++++
 2 files changed, 65 insertions(+)

diff --git a/sys-apps/pkgcore/files/pkgcore-0.12.23-metadata-xsd.patch b/sys-apps/pkgcore/files/pkgcore-0.12.23-metadata-xsd.patch
new file mode 100644
index 000000000000..abffe300b669
--- /dev/null
+++ b/sys-apps/pkgcore/files/pkgcore-0.12.23-metadata-xsd.patch
@@ -0,0 +1,16 @@
+commit f244de224400d9634742c52c655ac705cce9658a
+Author: Thomas Bracht Laumann Jespersen <t@laumann.xyz>
+Date:   Thu Sep 14 12:32:44 2023 +0000
+
+    data/xml-schema/metadata.xsd: add codeberg remote-id
+
+--- a/data/share/pkgcore/xml-schema/metadata.xsd
++++ b/data/share/pkgcore/xml-schema/metadata.xsd
+@@ -271,6 +271,7 @@
+ 	<xs:simpleType name='upstreamRemoteIdTypeAttrType'>
+ 		<xs:restriction base='xs:token'>
+ 			<xs:enumeration value='bitbucket'/>
++			<xs:enumeration value='codeberg'/>
+ 			<xs:enumeration value='cpan'/>
+ 			<xs:enumeration value='cpan-module'/>
+ 			<xs:enumeration value='cpe'/>

diff --git a/sys-apps/pkgcore/pkgcore-0.12.23-r1.ebuild b/sys-apps/pkgcore/pkgcore-0.12.23-r1.ebuild
new file mode 100644
index 000000000000..dd0437c0c1fd
--- /dev/null
+++ b/sys-apps/pkgcore/pkgcore-0.12.23-r1.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=standalone
+PYTHON_COMPAT=( python3_{10..12} )
+inherit distutils-r1
+
+if [[ ${PV} == *9999 ]] ; then
+	EGIT_REPO_URI="https://anongit.gentoo.org/git/proj/pkgcore/pkgcore.git
+		https://github.com/pkgcore/pkgcore.git"
+	inherit git-r3
+else
+	KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos"
+	inherit pypi
+fi
+
+DESCRIPTION="a framework for package management"
+HOMEPAGE="https://github.com/pkgcore/pkgcore"
+
+LICENSE="BSD MIT"
+SLOT="0"
+
+RDEPEND="
+	>=app-shells/bash-5.0[readline]
+	dev-python/lxml[${PYTHON_USEDEP}]
+"
+if [[ ${PV} == *9999 ]]; then
+	RDEPEND+=" ~dev-python/snakeoil-9999[${PYTHON_USEDEP}]"
+else
+	RDEPEND+=" >=dev-python/snakeoil-0.10.4[${PYTHON_USEDEP}]"
+fi
+BDEPEND="
+	>=dev-python/flit-core-3.8[${PYTHON_USEDEP}]
+	test? (
+		dev-vcs/git
+	)
+"
+
+PATCHES=( "${FILESDIR}/${P}-metadata-xsd.patch" )
+
+distutils_enable_tests pytest
+
+python_install_all() {
+	local DOCS=( NEWS.rst )
+	[[ ${PV} == *9999 ]] || doman build/sphinx/man/*
+	distutils-r1_python_install_all
+}


             reply	other threads:[~2023-11-24 16:49 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-11-24 16:49 Ulrich Müller [this message]
  -- strict thread matches above, loose matches on Subject: below --
2021-08-25 16:55 [gentoo-commits] repo/gentoo:master commit in: sys-apps/pkgcore/files/, sys-apps/pkgcore/ Michał Górny
2021-05-23  8:01 Michał Górny
2021-05-15 11:51 Michał Górny
2021-05-10 18:08 Michał Górny
2021-05-09 20:24 Michał Górny
2021-03-15  9:40 Michał Górny

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1700844578.819eb93c683a4d6fa7c81da8bddb6fef017d4394.ulm@gentoo \
    --to=ulm@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox