commit: 3fb2c13793af764b505f19217e31cd4bca8ebad5 Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com> AuthorDate: Fri Mar 27 17:01:14 2020 +0000 Commit: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com> CommitDate: Fri Mar 27 17:03:26 2020 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=3fb2c137
dev-python/backrefs: new package Package-Manager: Portage-2.3.96, Repoman-2.3.21 Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com> dev-python/backrefs/Manifest | 1 + dev-python/backrefs/backrefs-4.3.0.ebuild | 41 +++++++++++++++++++++++++++++++ dev-python/backrefs/metadata.xml | 16 ++++++++++++ 3 files changed, 58 insertions(+) diff --git a/dev-python/backrefs/Manifest b/dev-python/backrefs/Manifest new file mode 100644 index 0000000..9259c90 --- /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 0000000..b4a4030 --- /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 0000000..98b2deb --- /dev/null +++ b/dev-python/backrefs/metadata.xml @@ -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>[email protected]</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>
