dev-python/backrefs: version bump 4.5.0, add py3.9

Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: Andrew Ammerlaan <andrewammerlaan@riseup.net>
This commit is contained in:
Andrew Ammerlaan
2020-11-20 16:56:18 +01:00
parent b1ffde9523
commit b174b62b66
3 changed files with 47 additions and 35 deletions

View File

@@ -1 +1 @@
DIST backrefs-4.3.0.tar.gz 4927989 BLAKE2B 24e329c2002b471ccb5ec3d4930765b79dd1dd5666a29c55612559d306479e669bae849bacbfd9171a0a027e1bbf258e5a659cf6ba378f528e8abf2517ba72c0 SHA512 40ef55a4cc12d8aaf7307935eef2b89efbe56a567b62d04a543f871d0ebe3448554c567f79473010fba998af32d164cfb95584988918c84794cd86e61cff6b63
DIST backrefs-4.5.0.tar.gz 5995247 BLAKE2B ce3d33b91ab307811e555689a2ece0ba47e53d8245fd4fa367156a76893c5ca342cb47d014a3c94c6f30ebb32487fb36975a2fa6c7acf0a626305d05e0d80048 SHA512 c1e30a78c2e7a86efce1670000612b6450b6cae78f8c799cec6832aa88e4145fee6ffc3e1b8c54b55091f7c21ea4b09c1ee36af852bb51973434b593273e04a8

View File

@@ -1,34 +0,0 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python3_{7,8} )
DOCBUILDER="mkdocs"
DOCDEPEND="
~dev-python/mkdocs-material-4.6.3
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 ~x86"
DEPEND="
test? (
dev-python/mock[${PYTHON_USEDEP}]
dev-python/regex[${PYTHON_USEDEP}]
)
"
distutils_enable_tests pytest

View File

@@ -0,0 +1,46 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python3_{7,8,9} )
DOCBUILDER="mkdocs"
DOCDEPEND="
dev-python/mkdocs_pymdownx_material_extras
dev-python/mkdocs-minify-plugin
dev-python/mkdocs-git-revision-date-localized-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 ~x86"
BDEPEND="test? ( dev-python/mock[${PYTHON_USEDEP}] )"
distutils_enable_tests pytest
src_compile() {
# mkdocs-git-revision-date-localized-plugin needs git repo
if use doc; then
git init
git config --global user.email "you@example.com" || die
git config --global user.name "Your Name" || die
git add .
git commit -m 'init'
fi
distutils-r1_src_compile
}