summaryrefslogtreecommitdiff
path: root/dev-python
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2025-06-23 05:09:03 +0200
committerMichał Górny <mgorny@gentoo.org>2025-06-23 05:25:41 +0200
commit76c12e8a05f4f07cd5dee35b353129555e4f378c (patch)
treed6b235c8f38595230ee754acdfa809539a205b40 /dev-python
parent08ead4230922a2ebca329d8c1aece0971e751812 (diff)
downloadgentoo-76c12e8a05f4f07cd5dee35b353129555e4f378c.tar.gz
gentoo-76c12e8a05f4f07cd5dee35b353129555e4f378c.tar.bz2
gentoo-76c12e8a05f4f07cd5dee35b353129555e4f378c.zip
dev-python/bracex: Bump to 2.6
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/bracex/Manifest1
-rw-r--r--dev-python/bracex/bracex-2.6.ebuild49
2 files changed, 50 insertions, 0 deletions
diff --git a/dev-python/bracex/Manifest b/dev-python/bracex/Manifest
index 33b60083df22..b08253efaf67 100644
--- a/dev-python/bracex/Manifest
+++ b/dev-python/bracex/Manifest
@@ -1 +1,2 @@
DIST bracex-2.5.post1.tar.gz 26641 BLAKE2B ac437977f37e81ce5e5a829e50d71629aa13c22328da2d57fdf7b668be28b87d3720f3e7cae05518fc8ad975de69b8cebbea528bb539d3200c8b1a70537a6434 SHA512 f1eca0a27ad3556513573088c9d0e2afe41fb08c45bdd6dc62828936d8aa532a5757e95eafa1f65bd6802b8f315e7d2d63e01af706a066c656570b06ea8d835f
+DIST bracex-2.6.tar.gz 26642 BLAKE2B 283e73a59afb6f90a59c4fb11ba999a13284a2044817feed9af952564387e5caf7e2900bf4bc6ebcc5c9dfce803784d842d9ad0bda6abf8217f0891265a5f148 SHA512 2cd9967751a904d766a07817348727ae913c250b61696e75979c1873f5fe4ef0590a2b78998a784d847f3b6bbbd17b9d5d284b685f642df9f6504bf90233abc0
diff --git a/dev-python/bracex/bracex-2.6.ebuild b/dev-python/bracex/bracex-2.6.ebuild
new file mode 100644
index 000000000000..04274e54c542
--- /dev/null
+++ b/dev-python/bracex/bracex-2.6.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{11..13} )
+DISTUTILS_USE_PEP517=hatchling
+
+DOCS_BUILDER="mkdocs"
+DOCS_DEPEND="
+ dev-python/mkdocs-git-revision-date-localized-plugin
+ dev-python/mkdocs-material
+ dev-python/mkdocs-minify-plugin
+ dev-python/mkdocs-pymdownx-material-extras
+ dev-python/pyspelling
+"
+
+inherit distutils-r1 docs pypi
+
+DESCRIPTION="Bash style brace expansion for Python"
+HOMEPAGE="
+ https://github.com/facelessuser/bracex/
+ https://pypi.org/project/bracex/
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+
+BDEPEND="
+ test? (
+ dev-vcs/git
+ )
+"
+
+distutils_enable_tests pytest
+
+python_prepare_all() {
+ # mkdocs-git-revision-date-localized-plugin needs git repo
+ if use doc; then
+ git init || die
+ git config --global user.email "you@example.com" || die
+ git config --global user.name "Your Name" || die
+ git add . || die
+ git commit -m 'init' || die
+ fi
+
+ distutils-r1_python_prepare_all
+}