diff options
-rw-r--r-- | dev-python/bracex/Manifest | 1 | ||||
-rw-r--r-- | dev-python/bracex/bracex-2.2.ebuild | 45 |
2 files changed, 46 insertions, 0 deletions
diff --git a/dev-python/bracex/Manifest b/dev-python/bracex/Manifest index a683ec5bcf1b..8b7cf135a81f 100644 --- a/dev-python/bracex/Manifest +++ b/dev-python/bracex/Manifest @@ -1 +1,2 @@ DIST bracex-2.1.1.tar.gz 26078 BLAKE2B 7313aac70d2bdb8473396a651a5d62a399084a0277e8c4665ef79fbe00347b86fc9793066584275f2a77c6c4cc217e6235f2f06ef4977f733039984c562ec529 SHA512 922f627a001c239cf5ace47fb2f295e04200116add01ff969f8de49067098dea43286c3c739d51286b283d354cb6e411b7e2e6cb1c4863ba78edccc7bd461c86 +DIST bracex-2.2.tar.gz 27605 BLAKE2B 18e14711840c02c814c44c0f7f939e69091d34f8e1d25494e802ce5d5ae1debce73bb9cb7cf27ff6e431cc7a71e2fc3f247109c2b24875af5c06aba315028e8f SHA512 386b30b528085569df0a891df3cf7a343aed692efe27f8050373adf39877ffbb191c48574f4d078acdd441ff76ab90912f2337461e36171561209a6608f10546 diff --git a/dev-python/bracex/bracex-2.2.ebuild b/dev-python/bracex/bracex-2.2.ebuild new file mode 100644 index 000000000000..befaccde331d --- /dev/null +++ b/dev-python/bracex/bracex-2.2.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 +} |