public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Tony Olagbaiye" <gentoo@fron.io>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:dev commit in: sys-apps/paludis/
Date: Fri, 27 Jan 2023 23:34:53 +0000 (UTC)	[thread overview]
Message-ID: <1674862482.987bc497d8e68999f788ec907696f05ef714d0b8.gentoo@gentoo> (raw)

commit:     987bc497d8e68999f788ec907696f05ef714d0b8
Author:     Tony Olagbaiye <bqv <AT> fron <DOT> io>
AuthorDate: Fri Jan 27 23:34:33 2023 +0000
Commit:     Tony Olagbaiye <gentoo <AT> fron <DOT> io>
CommitDate: Fri Jan 27 23:34:42 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=987bc497

sys-apps/paludis: enable py3.10, py3.11

Signed-off-by: Tony Olagbaiye <bqv <AT> fron.io>

 sys-apps/paludis/metadata.xml        | 19 +++++++++++++
 sys-apps/paludis/paludis-9999.ebuild | 53 ++++++++++--------------------------
 2 files changed, 34 insertions(+), 38 deletions(-)

diff --git a/sys-apps/paludis/metadata.xml b/sys-apps/paludis/metadata.xml
new file mode 100644
index 000000000..7e76b8912
--- /dev/null
+++ b/sys-apps/paludis/metadata.xml
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<upstream>
+		<bugs-to>https://github.com/MageSlayer/paludis-gentoo-patches/issues</bugs-to>
+		<changelog>https://github.com/MageSlayer/paludis-gentoo-patches/commits/master</changelog>
+		<remote-id type="github">MageSlayer/paludis-gentoo-patches</remote-id>
+	</upstream>
+	<use>
+		<flag name='pbins'>Experimental binary packages support</flag>
+		<flag name='pink'>Use a pink colour scheme</flag>
+		<flag name='python'>Enable the Python bindings</flag>
+		<flag name='ruby'>Enable the Ruby bindings</flag>
+		<flag name='search-index'>Enable `cave search --index`</flag>
+		<flag name='xml'>Enable parsing of xml files, for GLSA and metadata.xml support</flag>
+		<flag name='eapi7'>Enable experimental eapi7 support</flag>
+		<flag name='eapi8'>Enable extremely experimental eapi8 support</flag>
+	</use>
+</pkgmetadata>

diff --git a/sys-apps/paludis/paludis-9999.ebuild b/sys-apps/paludis/paludis-9999.ebuild
index 52f726870..b78802e0b 100644
--- a/sys-apps/paludis/paludis-9999.ebuild
+++ b/sys-apps/paludis/paludis-9999.ebuild
@@ -1,11 +1,11 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2023 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
 
 EGIT_REPO_URI="https://github.com/MageSlayer/paludis-gentoo-patches.git"
-PYTHON_COMPAT=( python3_{7,8,9} )
-RUBY_VER=2.4
+PYTHON_COMPAT=( python3_{8..11} )
+RUBY_VER=2.7
 
 inherit bash-completion-r1 cmake git-r3 python-r1
 
@@ -13,7 +13,7 @@ DESCRIPTION="paludis, the other package mangler"
 HOMEPAGE="http://paludis.exherbo.org/"
 SRC_URI=""
 
-IUSE="doc pbins pink python ruby ruby_targets_ruby${RUBY_VER/./} search-index test +xml -eapi7"
+IUSE="doc pbins pink python ruby ruby_targets_ruby${RUBY_VER/./} search-index test +xml -eapi7 -eapi8"
 LICENSE="GPL-2 vim"
 SLOT="0"
 KEYWORDS=""
@@ -53,35 +53,26 @@ RDEPEND="${COMMON_DEPEND}
 PDEPEND="app-eselect/eselect-package-manager"
 
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )
-	ruby? ( ruby_targets_ruby${RUBY_VER/./} )"
+	ruby? ( ruby_targets_ruby${RUBY_VER/./} )
+	?? ( eapi7 eapi8 )"
 RESTRICT="!test? ( test )"
 
-pkg_pretend() {
-	if [[ ${MERGE_TYPE} != buildonly ]]; then
-		if id paludisbuild >/dev/null 2>/dev/null ; then
-			if ! groups paludisbuild | grep --quiet '\<tty\>' ; then
-				eerror "The 'paludisbuild' user is now expected to be a member of the"
-				eerror "'tty' group. You should add the user to this group before"
-				eerror "upgrading Paludis."
-				die "Please add paludisbuild to tty group"
-			fi
-		fi
-	fi
-}
-
 pkg_setup() {
 	use python && python_setup -3
 }
-
 src_unpack() {
-        if use eapi7; then
+	if use eapi8; then
+		# want experimental² EAPI8 support?
+		EGIT_REPO_URI="https://github.com/Ionic/paludis-gentoo-patches.git"
+		EGIT_BRANCH="feature/eapi8"
+	elif use eapi7; then
 		# want experimental EAPI7 support?
 		EGIT_BRANCH="eapi7"
-        else
+	else
 		EGIT_BRANCH="master"
-        fi
-        git-r3_fetch
-        git-r3_checkout
+	fi
+	git-r3_fetch
+	git-r3_checkout
 }
 
 src_prepare() {
@@ -131,20 +122,6 @@ src_install() {
 	dobin portage2paludis
 }
 
-src_test() {
-	# Work around Portage bugs
-	local -x PALUDIS_DO_NOTHING_SANDBOXY="portage sucks"
-	local -x BASH_ENV=/dev/null
-
-	if [[ ${EUID} == 0 ]] ; then
-		# hate
-		local -x PALUDIS_REDUCED_UID=0
-		local -x PALUDIS_REDUCED_GID=0
-	fi
-
-	cmake_src_test
-}
-
 pkg_postinst() {
 	local pm
 	if [[ -f ${ROOT}/etc/env.d/50package-manager ]] ; then


             reply	other threads:[~2023-01-27 23:34 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-01-27 23:34 Tony Olagbaiye [this message]
  -- strict thread matches above, loose matches on Subject: below --
2023-01-29 10:03 [gentoo-commits] repo/proj/guru:dev commit in: sys-apps/paludis/ Viorel Munteanu
2023-02-07  7:14 Joe Kappus

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=1674862482.987bc497d8e68999f788ec907696f05ef714d0b8.gentoo@gentoo \
    --to=gentoo@fron.io \
    --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