summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2021-11-04 22:16:20 +0100
committerMichał Górny <mgorny@gentoo.org>2021-11-04 23:09:43 +0100
commitbf0b0a30f7da600f4078b2b00c060f9f8ac383e5 (patch)
treeccf223d5e4ac592ef1fd3db70db932826812655d /dev-python/bracex
parentapp-admin/awscli: Bump to 1.21.11 (diff)
downloadgentoo-bf0b0a30f7da600f4078b2b00c060f9f8ac383e5.tar.gz
gentoo-bf0b0a30f7da600f4078b2b00c060f9f8ac383e5.tar.bz2
gentoo-bf0b0a30f7da600f4078b2b00c060f9f8ac383e5.zip
dev-python/bracex: Bump to 2.2.1
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.2.1.ebuild45
2 files changed, 46 insertions, 0 deletions
diff --git a/dev-python/bracex/Manifest b/dev-python/bracex/Manifest
index 8b7cf135a81f..b7d574463b12 100644
--- a/dev-python/bracex/Manifest
+++ b/dev-python/bracex/Manifest
@@ -1,2 +1,3 @@
DIST bracex-2.1.1.tar.gz 26078 BLAKE2B 7313aac70d2bdb8473396a651a5d62a399084a0277e8c4665ef79fbe00347b86fc9793066584275f2a77c6c4cc217e6235f2f06ef4977f733039984c562ec529 SHA512 922f627a001c239cf5ace47fb2f295e04200116add01ff969f8de49067098dea43286c3c739d51286b283d354cb6e411b7e2e6cb1c4863ba78edccc7bd461c86
+DIST bracex-2.2.1.tar.gz 27642 BLAKE2B e9eb12dd70b3cf1c6abd8a59f19d8f77f8fc85e07efad02a2c0213266b93641406d05fa8454b2b4cd6870b7f866a22c0b2132d690444f1910a599c9b17594065 SHA512 cad9faf73258493581606bf5c8068d34a82fdcca338dd6a1d7da5dacfbee1932f48d04d6f295151d79f02495ddf89aa6a5d53d6596db7bd53ddb3cd23d59a71d
DIST bracex-2.2.tar.gz 27605 BLAKE2B 18e14711840c02c814c44c0f7f939e69091d34f8e1d25494e802ce5d5ae1debce73bb9cb7cf27ff6e431cc7a71e2fc3f247109c2b24875af5c06aba315028e8f SHA512 386b30b528085569df0a891df3cf7a343aed692efe27f8050373adf39877ffbb191c48574f4d078acdd441ff76ab90912f2337461e36171561209a6608f10546
diff --git a/dev-python/bracex/bracex-2.2.1.ebuild b/dev-python/bracex/bracex-2.2.1.ebuild
new file mode 100644
index 000000000000..befaccde331d
--- /dev/null
+++ b/dev-python/bracex/bracex-2.2.1.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..10} )
+
+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
+
+DESCRIPTION="Bash style brace expansion for Python"
+HOMEPAGE="
+ https://github.com/facelessuser/bracex/
+ https://pypi.org/project/bracex/
+"
+SRC_URI="https://github.com/facelessuser/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~riscv ~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
+}