summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2023-02-24 19:09:18 +0100
committerUlrich Müller <ulm@gentoo.org>2023-02-24 19:17:04 +0100
commit02b68d9aec774bdc1d76ede029ea82b2be5c411c (patch)
tree07f7687dfb12646e1cf9499146631c6eec6e45fa /app-portage
parentdev-python/pyproject-fmt: Stabilize 0.6.0 ALLARCHES, #892717 (diff)
downloadgentoo-02b68d9aec774bdc1d76ede029ea82b2be5c411c.tar.gz
gentoo-02b68d9aec774bdc1d76ede029ea82b2be5c411c.tar.bz2
gentoo-02b68d9aec774bdc1d76ede029ea82b2be5c411c.zip
app-portage/g-sorcery: add 0.2.3
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
Diffstat (limited to 'app-portage')
-rw-r--r--app-portage/g-sorcery/Manifest1
-rw-r--r--app-portage/g-sorcery/g-sorcery-0.2.3.ebuild46
2 files changed, 47 insertions, 0 deletions
diff --git a/app-portage/g-sorcery/Manifest b/app-portage/g-sorcery/Manifest
index d0900a6eca6c..2ba98ef92b81 100644
--- a/app-portage/g-sorcery/Manifest
+++ b/app-portage/g-sorcery/Manifest
@@ -1 +1,2 @@
DIST g-sorcery-0.2.2.tar.gz 55707 BLAKE2B 59466e116caff697618154f3c9d8a2c11809ac0c1d367a35a7773fdcad381e283c2426310ccd4f843e10e6fc5143061f2ee575bdd190a1a51d7691be0d452d73 SHA512 a63b6a49225fbf5105666a6d8094f04534674c4773eb8008e2cb8e2eb75291011d53ff3f1bf6dd456496469d537a97151feca73b9b26553cf1fda9d3128534cb
+DIST g-sorcery-0.2.3.tar.gz 55672 BLAKE2B f94ec2f449f4b6ae71df4de88519e0a766e543200829cf3ee1535086194c8365a68abfb4156dfd1bbe27b212e1d5c90b5acc7d32b87818f6292e02715c0a59c7 SHA512 2090c93b27b66ab155b3f05ffcddc4790e5d2e68ec02b089fd21c2f56b562dfe4b3ba4820b8c37876be38b2774b466849b6f6b1b03674c3c9d0226ad0049b943
diff --git a/app-portage/g-sorcery/g-sorcery-0.2.3.ebuild b/app-portage/g-sorcery/g-sorcery-0.2.3.ebuild
new file mode 100644
index 000000000000..3e9500a4da0d
--- /dev/null
+++ b/app-portage/g-sorcery/g-sorcery-0.2.3.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{9,10} )
+
+inherit distutils-r1 prefix
+
+DESCRIPTION="framework for ebuild generators"
+HOMEPAGE="https://gitweb.gentoo.org/proj/g-sorcery.git
+ https://github.com/jauhien/g-sorcery"
+SRC_URI="https://gitweb.gentoo.org/proj/g-sorcery.git/snapshot/${P}.tar.gz"
+
+LICENSE="GPL-2" # v2 only
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86"
+IUSE="bson git test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="bson? ( dev-python/pymongo[${PYTHON_USEDEP}] )
+ git? ( dev-vcs/git )
+ sys-apps/portage[${PYTHON_USEDEP}]"
+BDEPEND="${RDEPEND}"
+PDEPEND=">=app-portage/layman-2.2.0[g-sorcery(-),${PYTHON_USEDEP}]"
+
+src_prepare() {
+ hprefixify setup.py
+ default
+}
+
+python_test() {
+ PYTHONPATH="." "${PYTHON}" scripts/run_tests.py || die
+}
+
+python_install_all() {
+ distutils-r1_python_install_all
+
+ doman docs/*.8
+
+ docinto html
+ dodoc docs/developer_instructions.html
+
+ diropts -m0777
+ keepdir /var/lib/g-sorcery
+}