diff options
author | Michał Górny <mgorny@gentoo.org> | 2021-10-20 08:36:08 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2021-10-20 11:39:31 +0200 |
commit | 53900a754459f2fe9b05ab84ac252a55a8aa785b (patch) | |
tree | bdc93d9856ad329192f10ccd7006f540d2368b6f /dev-python/backrefs | |
parent | net-vpn/openfortivpn: Stabilize 1.16.0 amd64, #818979 (diff) | |
download | gentoo-53900a754459f2fe9b05ab84ac252a55a8aa785b.tar.gz gentoo-53900a754459f2fe9b05ab84ac252a55a8aa785b.tar.bz2 gentoo-53900a754459f2fe9b05ab84ac252a55a8aa785b.zip |
dev-python/backrefs: Bump to 5.1
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/backrefs')
-rw-r--r-- | dev-python/backrefs/Manifest | 1 | ||||
-rw-r--r-- | dev-python/backrefs/backrefs-5.1.ebuild | 50 |
2 files changed, 51 insertions, 0 deletions
diff --git a/dev-python/backrefs/Manifest b/dev-python/backrefs/Manifest index 13990f84a82a..96014e1c654a 100644 --- a/dev-python/backrefs/Manifest +++ b/dev-python/backrefs/Manifest @@ -1 +1,2 @@ DIST backrefs-5.0.1.tar.gz 4120179 BLAKE2B 2cd8fb84c7e416be330cb9afdb894f6f8574b66698acc1d63abae8ff5bfcccd4bf29b724dcf2a25a637ea0fde46865b18a5ff1bfbff955a01798037752dc3d97 SHA512 e2212bd7dce017308fa558ccfe7faf617ed6107523db8b2e4a3ad7b60aa1d7aabdaea2632abd6a3f1f022eac949d7036a7afe522b5f086ef1888a0e67e834894 +DIST backrefs-5.1.tar.gz 5216647 BLAKE2B 060d153f0d5d674e7b2e6f744a9b283d10f9f47fb355fe5d5703cd83b2507852d606d51cdefcf37617ee12f7bc71d487bc50254763415c02422524da9d71aae6 SHA512 b5123e46f0bf2108060c7e4f350538159c08ee7fe3b07bbed44aaadc0481047262af80b7bf08066db423a86b4e8660a91c9e03ea41a7bb039c3d17ae3faa81fd diff --git a/dev-python/backrefs/backrefs-5.1.ebuild b/dev-python/backrefs/backrefs-5.1.ebuild new file mode 100644 index 000000000000..b0b83486bfeb --- /dev/null +++ b/dev-python/backrefs/backrefs-5.1.ebuild @@ -0,0 +1,50 @@ +# 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_pymdownx_material_extras-1.0.7 + dev-python/mkdocs-minify-plugin + dev-python/mkdocs-material + dev-python/pyspelling +" + +inherit distutils-r1 docs + +DESCRIPTION="Wrapper around re or regex that adds additional back references" +HOMEPAGE=" + https://github.com/facelessuser/backrefs/ + https://pypi.org/project/backrefs/ +" +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-python/mock[${PYTHON_USEDEP}] + dev-python/regex[${PYTHON_USEDEP}] + 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 +} |