dev-python/backrefs: new package

Package-Manager: Portage-2.3.96, Repoman-2.3.21
Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
This commit is contained in:
Alessandro Barbieri
2020-03-27 18:01:14 +01:00
parent 38b3dbe3d3
commit 3fb2c13793
3 changed files with 58 additions and 0 deletions

View File

@@ -0,0 +1 @@
DIST backrefs-4.3.0.tar.gz 4927989 BLAKE2B 24e329c2002b471ccb5ec3d4930765b79dd1dd5666a29c55612559d306479e669bae849bacbfd9171a0a027e1bbf258e5a659cf6ba378f528e8abf2517ba72c0 SHA512 40ef55a4cc12d8aaf7307935eef2b89efbe56a567b62d04a543f871d0ebe3448554c567f79473010fba998af32d164cfb95584988918c84794cd86e61cff6b63

View File

@@ -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
}

View File

@@ -0,0 +1,16 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>lssndrbarbieri@gmail.com</email>
<name>Alessandro Barbieri</name>
</maintainer>
<upstream>
<remote-id type="github">facelessuser/backrefs</remote-id>
<remote-id type="pypi">backrefs</remote-id>
</upstream>
<longdescription lang="en">
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.
</longdescription>
</pkgmetadata>