diff --git a/dev-python/backrefs/Manifest b/dev-python/backrefs/Manifest new file mode 100644 index 0000000000..9259c90a58 --- /dev/null +++ b/dev-python/backrefs/Manifest @@ -0,0 +1 @@ +DIST backrefs-4.3.0.tar.gz 4927989 BLAKE2B 24e329c2002b471ccb5ec3d4930765b79dd1dd5666a29c55612559d306479e669bae849bacbfd9171a0a027e1bbf258e5a659cf6ba378f528e8abf2517ba72c0 SHA512 40ef55a4cc12d8aaf7307935eef2b89efbe56a567b62d04a543f871d0ebe3448554c567f79473010fba998af32d164cfb95584988918c84794cd86e61cff6b63 diff --git a/dev-python/backrefs/backrefs-4.3.0.ebuild b/dev-python/backrefs/backrefs-4.3.0.ebuild new file mode 100644 index 0000000000..b4a4030785 --- /dev/null +++ b/dev-python/backrefs/backrefs-4.3.0.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_6 ) +#DISTUTILS_USE_SETUPTOOLS=rdepend + +inherit distutils-r1 + +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" +IUSE="doc" + +RDEPEND="" +DEPEND=" + ${RDEPEND} + doc? ( + >=dev-python/mkdocs-material-2.2.5[${PYTHON_USEDEP}] + dev-python/pyspelling[${PYTHON_USEDEP}] + ) + test? ( + dev-python/mock[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_compile_all() { + use doc && mkdocs build || die + default +} diff --git a/dev-python/backrefs/metadata.xml b/dev-python/backrefs/metadata.xml new file mode 100644 index 0000000000..98b2deb17d --- /dev/null +++ b/dev-python/backrefs/metadata.xml @@ -0,0 +1,16 @@ + + + + + + lssndrbarbieri@gmail.com + Alessandro Barbieri + + + 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. + +