summaryrefslogtreecommitdiff
path: root/dev-python/backrefs
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/backrefs')
-rw-r--r--dev-python/backrefs/Manifest4
-rw-r--r--dev-python/backrefs/backrefs-5.3.ebuild24
-rw-r--r--dev-python/backrefs/backrefs-5.4.ebuild33
3 files changed, 37 insertions, 24 deletions
diff --git a/dev-python/backrefs/Manifest b/dev-python/backrefs/Manifest
index 4fe19ac0563d..27408808514c 100644
--- a/dev-python/backrefs/Manifest
+++ b/dev-python/backrefs/Manifest
@@ -1,3 +1,5 @@
DIST backrefs-5.3.gh.tar.gz 4291850 BLAKE2B d2d21dcb2d6a540ff6d06fbadb08c9a9ae6251c9bf78601b59611e80215f659cb46e8d535563c397ea28d014a67ffbc4d29a8f8632023ab9904b9630ac96602a SHA512 c42985a26605e3ab1f8b30943efdc554829d2a5951f32cff486959be1c7c1c61613adc947379aaebec74d8f574ae2c39e46e4682e2f78bb059beee2d9572f352
-EBUILD backrefs-5.3.ebuild 1212 BLAKE2B d5c0a3abff2d21771ac7829b4b8f6e800c4140b6df3a3b10cf12bae10a1ae9b11ff80f1a2d2a43279cdb7f8a7aae0b75e878dd2b2ba9a9e2add63bf73decc625 SHA512 491a78232866f22c59e2da6470ccab00340ec848a142b82b595430272d1e9226ca93d82126cd9d6fe69ae376ff34a4c51c89a3128c4e6c38130e899ce18e6e8d
+DIST backrefs-5.4.gh.tar.gz 4292341 BLAKE2B 9cbc443b82d2c7339dda30c6790f99d2da38a7e8db78df19e2dc2670c5cc12b1c303870fc63aad16f326b0dfd5d3d1e7c1a85bcde6cb698cd3602488b7e58ef3 SHA512 2949c40bfa60b37eccfd380eb05e5a7f425cad243d6bb332e6f329a1b9747760ca530d4af69daa25441bc9b0d2bd6291699aebf36bd52d055d4e84959ab45100
+EBUILD backrefs-5.3.ebuild 661 BLAKE2B 279ff2c9de91bb1a8f11e0241d830c57e1c6f8ea6dadf19f8ac2421f1844fa96de4cccd64ef9beed8d14ae395e978f3222008a27181d44a4aa398f236aaf6fd8 SHA512 4109975bd72877e53c07a3e9f0096e1f9cf5f4ee178377b18afb8697adc705a22ea9776e0a6d59f3d3a561f09247ecb1e293a6400582b4b5b54f238b27774eb9
+EBUILD backrefs-5.4.ebuild 663 BLAKE2B 465c789d759b4f16c5598d961bb9ffbe3269288fe5eb117f901fb6227b8a4af781582cb82ff932dfc5bebf2a0f68de41c8a55e6710a5e8e4a0116b7e538f7da8 SHA512 b7ff720726e73b1e849c22bfe7b856f55d3cc80b0aab1a2bacefdd452a5d2db1cd33c62f0fce328aab8474c95a59d311337ad958e90cd91d1599fc8ecc309efa
MISC metadata.xml 1229 BLAKE2B b5f27256eae1a190da3f69879ea07f7dfd8239e376665da86b8e881afd37bd49ebb8a7adcd95a4cdad9e68639def1c2fb93fe2aa36277c3b0e4fcd9710e327a0 SHA512 fd8e5658be271c220b30e1023eecd07e30e0fa6053e9e4dd4babd87a229710aead337c9958d6c26b8b8d681497836b47f773010504fbc0dba243a7048bf890e1
diff --git a/dev-python/backrefs/backrefs-5.3.ebuild b/dev-python/backrefs/backrefs-5.3.ebuild
index d230b992ae00..90dcf2189c94 100644
--- a/dev-python/backrefs/backrefs-5.3.ebuild
+++ b/dev-python/backrefs/backrefs-5.3.ebuild
@@ -6,16 +6,7 @@ EAPI=8
DISTUTILS_USE_PEP517=hatchling
PYTHON_COMPAT=( python3_{8..11} )
-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
+inherit distutils-r1
DESCRIPTION="Wrapper around re or regex that adds additional back references"
HOMEPAGE="
@@ -40,16 +31,3 @@ BDEPEND="
"
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/backrefs-5.4.ebuild b/dev-python/backrefs/backrefs-5.4.ebuild
new file mode 100644
index 000000000000..caccf1a82aed
--- /dev/null
+++ b/dev-python/backrefs/backrefs-5.4.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=hatchling
+PYTHON_COMPAT=( python3_{8..11} )
+
+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/backrefs/archive/${PV}.tar.gz
+ -> ${P}.gh.tar.gz
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~riscv ~x86"
+
+BDEPEND="
+ test? (
+ dev-python/mock[${PYTHON_USEDEP}]
+ dev-python/regex[${PYTHON_USEDEP}]
+ dev-vcs/git
+ )
+"
+
+distutils_enable_tests pytest