From 6abbf81ef2f298e3221ff5e67a1f3c5f23958212 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 14 Dec 2020 13:26:14 +0000 Subject: gentoo resync : 14.12.2020 --- dev-python/backrefs/Manifest | 3 ++ dev-python/backrefs/backrefs-4.5.0.ebuild | 49 +++++++++++++++++++++++++++++++ dev-python/backrefs/metadata.xml | 24 +++++++++++++++ 3 files changed, 76 insertions(+) create mode 100644 dev-python/backrefs/Manifest create mode 100644 dev-python/backrefs/backrefs-4.5.0.ebuild create mode 100644 dev-python/backrefs/metadata.xml (limited to 'dev-python/backrefs') diff --git a/dev-python/backrefs/Manifest b/dev-python/backrefs/Manifest new file mode 100644 index 000000000000..677b6ebc5ae0 --- /dev/null +++ b/dev-python/backrefs/Manifest @@ -0,0 +1,3 @@ +DIST backrefs-4.5.0.tar.gz 5995247 BLAKE2B ce3d33b91ab307811e555689a2ece0ba47e53d8245fd4fa367156a76893c5ca342cb47d014a3c94c6f30ebb32487fb36975a2fa6c7acf0a626305d05e0d80048 SHA512 c1e30a78c2e7a86efce1670000612b6450b6cae78f8c799cec6832aa88e4145fee6ffc3e1b8c54b55091f7c21ea4b09c1ee36af852bb51973434b593273e04a8 +EBUILD backrefs-4.5.0.ebuild 1160 BLAKE2B 3019e87ef11cd026909dbf59f318ed0c719306bae5c377f87a38901ead4c9e920a7165432405831bc1c1e0cb0821b45a44779dd4cb06e2b7b0b2602544a5c55a SHA512 7add8d07ac9c1aa3e27163bd04165715f512282498f20bcf6576ad3e3a042bf1eafc746738882c22956f871ebd310b09808dd4e47a508b1c8a43bdeaec3685bf +MISC metadata.xml 1074 BLAKE2B 2903d804d13b3967e1dda39870c9f945b0b9327758ae8baf402112331836a4dbfd8328f6308a84ebdc5eee9b5f5a25d0d312de274cd57d47665fdcf2f44abdaa SHA512 7b23341b90d9a243e73578d2a30225318418997adc58d04db568a5771323af6d25125b65282f5e8f33d736da590d5cd40c3ceacb464c2c93422233bde1212b44 diff --git a/dev-python/backrefs/backrefs-4.5.0.ebuild b/dev-python/backrefs/backrefs-4.5.0.ebuild new file mode 100644 index 000000000000..76f334eeed6e --- /dev/null +++ b/dev-python/backrefs/backrefs-4.5.0.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{7,8,9} ) + +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 ~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 +} diff --git a/dev-python/backrefs/metadata.xml b/dev-python/backrefs/metadata.xml new file mode 100644 index 000000000000..2a6c9f9ed89d --- /dev/null +++ b/dev-python/backrefs/metadata.xml @@ -0,0 +1,24 @@ + + + + + + lssndrbarbieri@gmail.com + Alessandro Barbieri + + + andrewammerlaan@riseup.net + Andrew Ammerlaan + + + proxy-maint@gentoo.org + Proxy Maintainers + + + facelessuser/backrefs + backrefs + + +Backrefs is a wrapper around Python's built-in Re and the 3rd party Regex library. Backrefs adds various additional back references (and a couple other features) that are known to some regular expression engines, but not to Python's Re and/or Regex. The supported back references actually vary depending on the regular expression engine being used as the engine may already have support for some. + + -- cgit v1.2.3