summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2024-09-29 04:49:58 +0200
committerMichał Górny <mgorny@gentoo.org>2024-09-29 04:49:58 +0200
commit03581a1aa1c9a60d48460ae61ab0a3503424839e (patch)
tree24a27fa0e9e7e6a7b71e35f492c7123f6ba87922 /dev-python/bracex
parentdev-python/dill: Bump to 0.3.9 (diff)
downloadgentoo-03581a1aa1c9a60d48460ae61ab0a3503424839e.tar.gz
gentoo-03581a1aa1c9a60d48460ae61ab0a3503424839e.tar.bz2
gentoo-03581a1aa1c9a60d48460ae61ab0a3503424839e.zip
dev-python/bracex: Bump to 2.5_p1
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/bracex')
-rw-r--r--dev-python/bracex/Manifest1
-rw-r--r--dev-python/bracex/bracex-2.5_p1.ebuild49
2 files changed, 50 insertions, 0 deletions
diff --git a/dev-python/bracex/Manifest b/dev-python/bracex/Manifest
index e3a4394e51f0..6176d9645e9d 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.5.tar.gz 26622 BLAKE2B d86e133ab0b8033f94c238afab4c1e023d648e512dbd2759a9cb756322e317132d51c33b9826bc5cb20d715557abae1470a1d6212f6e103164a30618bf1e5b20 SHA512 e738ea7b45b17bbbc9a64e1782653ed69d56a94ef8c83f538d19319ed3ad23ec96037d22af0b00796bf5cb2fca3f75c8c2770ddfa9ef60536fd435de594aaae4
diff --git a/dev-python/bracex/bracex-2.5_p1.ebuild b/dev-python/bracex/bracex-2.5_p1.ebuild
new file mode 100644
index 000000000000..d8b5df921ba4
--- /dev/null
+++ b/dev-python/bracex/bracex-2.5_p1.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..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
+}