Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] python3-Levenshtein: update to 0.23.0
@ 2023-11-22  6:36 Luciogi
  2023-11-22  8:50 ` [PR PATCH] [Updated] " Luciogi
                   ` (5 more replies)
  0 siblings, 6 replies; 11+ messages in thread
From: Luciogi @ 2023-11-22  6:36 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 701 bytes --]

There is a new pull request by Luciogi against master on the void-packages repository

https://github.com/Luciogi/void-packages py3-Levenshtein
https://github.com/void-linux/void-packages/pull/47349

python3-Levenshtein: update to 0.23.0
#### Testing the changes
- I tested the changes in this PR: **In-Progress**

#### New dependency package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**

#### Local build testing
- I built this PR locally for my native architecture, (x86_64-GLIBC)



A patch file from https://github.com/void-linux/void-packages/pull/47349.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-py3-Levenshtein-47349.patch --]
[-- Type: text/x-diff, Size: 7326 bytes --]

From d89fe7f371e6569e0a70e6868c2ee265a0c216c1 Mon Sep 17 00:00:00 2001
From: Luciogi <lucigithubcommit@skiff.com>
Date: Tue, 21 Nov 2023 20:45:18 +0500
Subject: [PATCH 1/5] New package: hatch-fancy-pypi-readme

---
 srcpkgs/hatch-fancy-pypi-readme/template | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
 create mode 100644 srcpkgs/hatch-fancy-pypi-readme/template

diff --git a/srcpkgs/hatch-fancy-pypi-readme/template b/srcpkgs/hatch-fancy-pypi-readme/template
new file mode 100644
index 0000000000000..c1c628ff17e84
--- /dev/null
+++ b/srcpkgs/hatch-fancy-pypi-readme/template
@@ -0,0 +1,15 @@
+# Template file for 'hatch-fancy-pypi-readme'
+pkgname=hatch-fancy-pypi-readme
+version=23.1.0
+revision=1
+build_style=python3-pep517
+hostmakedepends="hatchling"
+depends="hatchling"
+checkdepends="python3-pytest python3-wheel"
+short_desc="Hatch plugin for fancy readme"
+maintainer="Luciogi <lucigithubcommit@skiff.com>"
+license="GPL-3.0-or-later"
+homepage="https://github.com/hynek/hatch-fancy-pypi-readme"
+changelog="https://github.com/hynek/hatch-fancy-pypi-readme/raw/main/CHANGELOG.md"
+distfiles="${PYPI_SITE}/h/hatch_fancy_pypi_readme/hatch_fancy_pypi_readme-${version}.tar.gz"
+checksum=b1df44063094af1e8248ceacd47a92c9cf313d6b9823bf66af8a927c3960287d

From b3b463830bb83b406e09e6a746ec1916a8f00f08 Mon Sep 17 00:00:00 2001
From: Luciogi <lucigithubcommit@skiff.com>
Date: Tue, 21 Nov 2023 20:46:45 +0500
Subject: [PATCH 2/5] New package: rapidfuzz-cpp

---
 srcpkgs/rapidfuzz-cpp/template | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
 create mode 100644 srcpkgs/rapidfuzz-cpp/template

diff --git a/srcpkgs/rapidfuzz-cpp/template b/srcpkgs/rapidfuzz-cpp/template
new file mode 100644
index 0000000000000..d08266171f30a
--- /dev/null
+++ b/srcpkgs/rapidfuzz-cpp/template
@@ -0,0 +1,17 @@
+# Template file for 'rapidfuzz-cpp'
+pkgname=rapidfuzz-cpp
+version=2.2.3
+revision=1
+#archs="i686 x86_64"
+build_style=cmake
+short_desc="Rapid fuzzy string matching in C++ using the Levenshtein Distance"
+maintainer="Luciogi <lucigithubcommit@skiff.com>"
+license="MIT"
+homepage="https://github.com/maxbachmann/rapidfuzz-cpp"
+changelog="https://github.com/maxbachmann/rapidfuzz-cpp/raw/main/CHANGELOG.md"
+distfiles="https://github.com/maxbachmann/rapidfuzz-cpp/archive/refs/tags/v${version}.tar.gz>${pkgname}-${version}.tar.gz"
+checksum=df4412e9593945782de2212095bd4b70a8f8e63ae8f313976c616809be124d2c
+
+post_install() {
+	vlicense LICENSE
+}

From 48e03315693fb945c3ba98d19aacefee247ee07d Mon Sep 17 00:00:00 2001
From: Luciogi <lucigithubcommit@skiff.com>
Date: Tue, 21 Nov 2023 20:50:10 +0500
Subject: [PATCH 3/5] New package: python3-scikit-build

---
 srcpkgs/python3-scikit-build/template | 28 +++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)
 create mode 100644 srcpkgs/python3-scikit-build/template

diff --git a/srcpkgs/python3-scikit-build/template b/srcpkgs/python3-scikit-build/template
new file mode 100644
index 0000000000000..dfd329be39f6b
--- /dev/null
+++ b/srcpkgs/python3-scikit-build/template
@@ -0,0 +1,28 @@
+# Template file for 'python3-scikit-build'
+pkgname=python3-scikit-build
+version=0.17.6
+revision=1
+build_style=python3-pep517
+hostmakedepends="hatchling hatch-vcs hatch-fancy-pypi-readme"
+depends="python3-distro python3-packaging python3-setuptools python3-wheel"
+checkdepends="${depends} python3-devel python3-Cython python3-numpy python3-pytest
+ python3-pytest-mock python3-requests python3-virtualenv python3-path python3-six
+ git cmake gcc gcc-fortran"
+short_desc="Build system generator for Python C/C++/Fortran/Cython extensions"
+maintainer="Luciogi <lucigithubcommit@skiff.com>"
+license="MIT"
+homepage="https://github.com/scikit-build/scikit-build"
+changelog="https://github.com/scikit-build/scikit-build/raw/main/CHANGES.rst"
+distfiles="${PYPI_SITE}/s/scikit_build/scikit_build-${version}.tar.gz"
+checksum=b51a51a36b37c42650994b5047912f59b22e3210b23e321f287611f9ef6e5c9d
+pre_check() {
+	python -m venv test-env --system-site-package
+}
+
+do_check() {
+	test-env/bin/python /usr/bin/pytest -m "not isolated and not deprecated and not nosetuptoolsscm"
+}
+
+post_install() {
+	vlicense LICENSE
+}

From 9d8959def3d1e3b07ce4eaf603c93d5d6ce0bc78 Mon Sep 17 00:00:00 2001
From: Luciogi <lucigithubcommit@skiff.com>
Date: Wed, 22 Nov 2023 11:27:12 +0500
Subject: [PATCH 4/5] python3-Levenshtein: update to 0.23.0.

---
 srcpkgs/python3-Levenshtein/template | 23 +++++++++++++++--------
 1 file changed, 15 insertions(+), 8 deletions(-)

diff --git a/srcpkgs/python3-Levenshtein/template b/srcpkgs/python3-Levenshtein/template
index 044c5d1492408..8fb58fa35d73c 100644
--- a/srcpkgs/python3-Levenshtein/template
+++ b/srcpkgs/python3-Levenshtein/template
@@ -1,14 +1,21 @@
 # Template file for 'python3-Levenshtein'
 pkgname=python3-Levenshtein
-version=0.12.0
-revision=9
+version=0.23.0
+revision=1
 build_style=python3-module
-hostmakedepends="python3-devel python3-setuptools"
-makedepends="python3-devel"
-depends="python3"
+make_check_target="tests"
+hostmakedepends="python3-setuptools cmake"
+makedepends="python3-devel python3-scikit-build python3-RapidFuzz"
+depends="python3-RapidFuzz"
+checkdepends="python3-pytest"
 short_desc="Functions for computation of distance and string similarity (Python3)"
 maintainer="Orphaned <orphan@voidlinux.org>"
 license="GPL-2.0-or-later"
-homepage="https://pypi.org/project/python-Levenshtein/"
-distfiles="${PYPI_SITE}/p/python-Levenshtein/python-Levenshtein-${version}.tar.gz"
-checksum=033a11de5e3d19ea25c9302d11224e1a1898fe5abd23c61c7c360c25195e3eb1
+homepage="https://github.com/maxbachmann/Levenshtein"
+distfiles="${PYPI_SITE}/L/Levenshtein/Levenshtein-${version}.tar.gz"
+checksum=de7ccc31a471ea5bfafabe804c12a63e18b4511afc1014f23c3cc7be8c70d3bd
+
+do_check() {
+	PYTHONPATH=$(echo "$(pwd)"/_skbuild/linux-${XBPS_TARGET_MACHINE}-*/setuptools/lib.linux-${XBPS_TARGET_MACHINE}-*) \
+	python -m pytest -v
+}

From 24f52a16d0d168fcb0580aab82249ce779608744 Mon Sep 17 00:00:00 2001
From: Luciogi <lucigithubcommit@skiff.com>
Date: Wed, 22 Nov 2023 11:35:12 +0500
Subject: [PATCH 5/5] New package: python3-RapidFuzz

---
 srcpkgs/python3-RapidFuzz/template | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
 create mode 100644 srcpkgs/python3-RapidFuzz/template

diff --git a/srcpkgs/python3-RapidFuzz/template b/srcpkgs/python3-RapidFuzz/template
new file mode 100644
index 0000000000000..0f664ce025b65
--- /dev/null
+++ b/srcpkgs/python3-RapidFuzz/template
@@ -0,0 +1,20 @@
+# Template file for 'python3-RapidFuzz'
+pkgname=python3-RapidFuzz
+version=3.5.2
+revision=1
+build_style=python3-module
+make_check_target="tests"
+hostmakedepends="python3-scikit-build"
+makedepends="python3-Cython rapidfuzz-cpp cmake ninja python3-devel"
+checkdepends="python3-pytest python3-hypothesis python3-pandas"
+short_desc="Rapid fuzzy string matching in Python using the Levenshtein Distance"
+maintainer="Luciogi <lucigithubcommit@skiff.com>"
+license="MIT"
+homepage="https://github.com/maxbachmann/RapidFuzz"
+changelog="https://raw.githubusercontent.com/maxbachmann/RapidFuzz/main/CHANGELOG.rst"
+distfiles="${PYPI_SITE}/r/rapidfuzz/rapidfuzz-${version}.tar.gz"
+checksum=9e9b395743e12c36a3167a3a9fd1b4e11d92fb0aa21ec98017ee6df639ed385e
+
+post_install() {
+	vlicense LICENSE
+}

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [PR PATCH] [Updated] python3-Levenshtein: update to 0.23.0
  2023-11-22  6:36 [PR PATCH] python3-Levenshtein: update to 0.23.0 Luciogi
@ 2023-11-22  8:50 ` Luciogi
  2023-11-22  9:14 ` Luciogi
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 11+ messages in thread
From: Luciogi @ 2023-11-22  8:50 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 800 bytes --]

There is an updated pull request by Luciogi against master on the void-packages repository

https://github.com/Luciogi/void-packages py3-Levenshtein
https://github.com/void-linux/void-packages/pull/47349

python3-Levenshtein: update to 0.23.0
#### Testing the changes
- I tested the changes in this PR: **In-Progress**

#### New dependency package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**

#### Local build testing
- I built this PR locally for my native architecture, (x86_64-GLIBC)

### Fixes 
- broken Ulauncher

### Doubt
-  rapidfuzz-cpp: Does  it need patch for musl ? 

A patch file from https://github.com/void-linux/void-packages/pull/47349.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-py3-Levenshtein-47349.patch --]
[-- Type: text/x-diff, Size: 7353 bytes --]

From d89fe7f371e6569e0a70e6868c2ee265a0c216c1 Mon Sep 17 00:00:00 2001
From: Luciogi <lucigithubcommit@skiff.com>
Date: Tue, 21 Nov 2023 20:45:18 +0500
Subject: [PATCH 1/5] New package: hatch-fancy-pypi-readme

---
 srcpkgs/hatch-fancy-pypi-readme/template | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
 create mode 100644 srcpkgs/hatch-fancy-pypi-readme/template

diff --git a/srcpkgs/hatch-fancy-pypi-readme/template b/srcpkgs/hatch-fancy-pypi-readme/template
new file mode 100644
index 0000000000000..c1c628ff17e84
--- /dev/null
+++ b/srcpkgs/hatch-fancy-pypi-readme/template
@@ -0,0 +1,15 @@
+# Template file for 'hatch-fancy-pypi-readme'
+pkgname=hatch-fancy-pypi-readme
+version=23.1.0
+revision=1
+build_style=python3-pep517
+hostmakedepends="hatchling"
+depends="hatchling"
+checkdepends="python3-pytest python3-wheel"
+short_desc="Hatch plugin for fancy readme"
+maintainer="Luciogi <lucigithubcommit@skiff.com>"
+license="GPL-3.0-or-later"
+homepage="https://github.com/hynek/hatch-fancy-pypi-readme"
+changelog="https://github.com/hynek/hatch-fancy-pypi-readme/raw/main/CHANGELOG.md"
+distfiles="${PYPI_SITE}/h/hatch_fancy_pypi_readme/hatch_fancy_pypi_readme-${version}.tar.gz"
+checksum=b1df44063094af1e8248ceacd47a92c9cf313d6b9823bf66af8a927c3960287d

From b3b463830bb83b406e09e6a746ec1916a8f00f08 Mon Sep 17 00:00:00 2001
From: Luciogi <lucigithubcommit@skiff.com>
Date: Tue, 21 Nov 2023 20:46:45 +0500
Subject: [PATCH 2/5] New package: rapidfuzz-cpp

---
 srcpkgs/rapidfuzz-cpp/template | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
 create mode 100644 srcpkgs/rapidfuzz-cpp/template

diff --git a/srcpkgs/rapidfuzz-cpp/template b/srcpkgs/rapidfuzz-cpp/template
new file mode 100644
index 0000000000000..d08266171f30a
--- /dev/null
+++ b/srcpkgs/rapidfuzz-cpp/template
@@ -0,0 +1,17 @@
+# Template file for 'rapidfuzz-cpp'
+pkgname=rapidfuzz-cpp
+version=2.2.3
+revision=1
+#archs="i686 x86_64"
+build_style=cmake
+short_desc="Rapid fuzzy string matching in C++ using the Levenshtein Distance"
+maintainer="Luciogi <lucigithubcommit@skiff.com>"
+license="MIT"
+homepage="https://github.com/maxbachmann/rapidfuzz-cpp"
+changelog="https://github.com/maxbachmann/rapidfuzz-cpp/raw/main/CHANGELOG.md"
+distfiles="https://github.com/maxbachmann/rapidfuzz-cpp/archive/refs/tags/v${version}.tar.gz>${pkgname}-${version}.tar.gz"
+checksum=df4412e9593945782de2212095bd4b70a8f8e63ae8f313976c616809be124d2c
+
+post_install() {
+	vlicense LICENSE
+}

From 48e03315693fb945c3ba98d19aacefee247ee07d Mon Sep 17 00:00:00 2001
From: Luciogi <lucigithubcommit@skiff.com>
Date: Tue, 21 Nov 2023 20:50:10 +0500
Subject: [PATCH 3/5] New package: python3-scikit-build

---
 srcpkgs/python3-scikit-build/template | 28 +++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)
 create mode 100644 srcpkgs/python3-scikit-build/template

diff --git a/srcpkgs/python3-scikit-build/template b/srcpkgs/python3-scikit-build/template
new file mode 100644
index 0000000000000..dfd329be39f6b
--- /dev/null
+++ b/srcpkgs/python3-scikit-build/template
@@ -0,0 +1,28 @@
+# Template file for 'python3-scikit-build'
+pkgname=python3-scikit-build
+version=0.17.6
+revision=1
+build_style=python3-pep517
+hostmakedepends="hatchling hatch-vcs hatch-fancy-pypi-readme"
+depends="python3-distro python3-packaging python3-setuptools python3-wheel"
+checkdepends="${depends} python3-devel python3-Cython python3-numpy python3-pytest
+ python3-pytest-mock python3-requests python3-virtualenv python3-path python3-six
+ git cmake gcc gcc-fortran"
+short_desc="Build system generator for Python C/C++/Fortran/Cython extensions"
+maintainer="Luciogi <lucigithubcommit@skiff.com>"
+license="MIT"
+homepage="https://github.com/scikit-build/scikit-build"
+changelog="https://github.com/scikit-build/scikit-build/raw/main/CHANGES.rst"
+distfiles="${PYPI_SITE}/s/scikit_build/scikit_build-${version}.tar.gz"
+checksum=b51a51a36b37c42650994b5047912f59b22e3210b23e321f287611f9ef6e5c9d
+pre_check() {
+	python -m venv test-env --system-site-package
+}
+
+do_check() {
+	test-env/bin/python /usr/bin/pytest -m "not isolated and not deprecated and not nosetuptoolsscm"
+}
+
+post_install() {
+	vlicense LICENSE
+}

From 9d8959def3d1e3b07ce4eaf603c93d5d6ce0bc78 Mon Sep 17 00:00:00 2001
From: Luciogi <lucigithubcommit@skiff.com>
Date: Wed, 22 Nov 2023 11:27:12 +0500
Subject: [PATCH 4/5] python3-Levenshtein: update to 0.23.0.

---
 srcpkgs/python3-Levenshtein/template | 23 +++++++++++++++--------
 1 file changed, 15 insertions(+), 8 deletions(-)

diff --git a/srcpkgs/python3-Levenshtein/template b/srcpkgs/python3-Levenshtein/template
index 044c5d1492408..8fb58fa35d73c 100644
--- a/srcpkgs/python3-Levenshtein/template
+++ b/srcpkgs/python3-Levenshtein/template
@@ -1,14 +1,21 @@
 # Template file for 'python3-Levenshtein'
 pkgname=python3-Levenshtein
-version=0.12.0
-revision=9
+version=0.23.0
+revision=1
 build_style=python3-module
-hostmakedepends="python3-devel python3-setuptools"
-makedepends="python3-devel"
-depends="python3"
+make_check_target="tests"
+hostmakedepends="python3-setuptools cmake"
+makedepends="python3-devel python3-scikit-build python3-RapidFuzz"
+depends="python3-RapidFuzz"
+checkdepends="python3-pytest"
 short_desc="Functions for computation of distance and string similarity (Python3)"
 maintainer="Orphaned <orphan@voidlinux.org>"
 license="GPL-2.0-or-later"
-homepage="https://pypi.org/project/python-Levenshtein/"
-distfiles="${PYPI_SITE}/p/python-Levenshtein/python-Levenshtein-${version}.tar.gz"
-checksum=033a11de5e3d19ea25c9302d11224e1a1898fe5abd23c61c7c360c25195e3eb1
+homepage="https://github.com/maxbachmann/Levenshtein"
+distfiles="${PYPI_SITE}/L/Levenshtein/Levenshtein-${version}.tar.gz"
+checksum=de7ccc31a471ea5bfafabe804c12a63e18b4511afc1014f23c3cc7be8c70d3bd
+
+do_check() {
+	PYTHONPATH=$(echo "$(pwd)"/_skbuild/linux-${XBPS_TARGET_MACHINE}-*/setuptools/lib.linux-${XBPS_TARGET_MACHINE}-*) \
+	python -m pytest -v
+}

From d62b84a133019d7889d14c68307008722f9b8fb1 Mon Sep 17 00:00:00 2001
From: Luciogi <lucigithubcommit@skiff.com>
Date: Wed, 22 Nov 2023 11:35:12 +0500
Subject: [PATCH 5/5] New package: python3-RapidFuzz

---
 srcpkgs/python3-RapidFuzz/template | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)
 create mode 100644 srcpkgs/python3-RapidFuzz/template

diff --git a/srcpkgs/python3-RapidFuzz/template b/srcpkgs/python3-RapidFuzz/template
new file mode 100644
index 0000000000000..32d04c0a397b2
--- /dev/null
+++ b/srcpkgs/python3-RapidFuzz/template
@@ -0,0 +1,21 @@
+# Template file for 'python3-RapidFuzz'
+pkgname=python3-RapidFuzz
+version=3.5.2
+revision=1
+build_style=python3-module
+#make_check_target="tests"
+make_check_args="tests"
+hostmakedepends="python3-scikit-build"
+makedepends="python3-Cython rapidfuzz-cpp cmake ninja python3-devel"
+checkdepends="python3-pytest python3-hypothesis python3-pandas"
+short_desc="Rapid fuzzy string matching in Python using the Levenshtein Distance"
+maintainer="Luciogi <lucigithubcommit@skiff.com>"
+license="MIT"
+homepage="https://github.com/maxbachmann/RapidFuzz"
+changelog="https://raw.githubusercontent.com/maxbachmann/RapidFuzz/main/CHANGELOG.rst"
+distfiles="${PYPI_SITE}/r/rapidfuzz/rapidfuzz-${version}.tar.gz"
+checksum=9e9b395743e12c36a3167a3a9fd1b4e11d92fb0aa21ec98017ee6df639ed385e
+
+post_install() {
+	vlicense LICENSE
+}

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [PR PATCH] [Updated] python3-Levenshtein: update to 0.23.0
  2023-11-22  6:36 [PR PATCH] python3-Levenshtein: update to 0.23.0 Luciogi
  2023-11-22  8:50 ` [PR PATCH] [Updated] " Luciogi
@ 2023-11-22  9:14 ` Luciogi
  2023-11-22  9:17 ` Luciogi
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 11+ messages in thread
From: Luciogi @ 2023-11-22  9:14 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 800 bytes --]

There is an updated pull request by Luciogi against master on the void-packages repository

https://github.com/Luciogi/void-packages py3-Levenshtein
https://github.com/void-linux/void-packages/pull/47349

python3-Levenshtein: update to 0.23.0
#### Testing the changes
- I tested the changes in this PR: **In-Progress**

#### New dependency package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**

#### Local build testing
- I built this PR locally for my native architecture, (x86_64-GLIBC)

### Fixes 
- broken Ulauncher

### Doubt
-  rapidfuzz-cpp: Does  it need patch for musl ? 

A patch file from https://github.com/void-linux/void-packages/pull/47349.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-py3-Levenshtein-47349.patch --]
[-- Type: text/x-diff, Size: 7476 bytes --]

From d89fe7f371e6569e0a70e6868c2ee265a0c216c1 Mon Sep 17 00:00:00 2001
From: Luciogi <lucigithubcommit@skiff.com>
Date: Tue, 21 Nov 2023 20:45:18 +0500
Subject: [PATCH 1/5] New package: hatch-fancy-pypi-readme

---
 srcpkgs/hatch-fancy-pypi-readme/template | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
 create mode 100644 srcpkgs/hatch-fancy-pypi-readme/template

diff --git a/srcpkgs/hatch-fancy-pypi-readme/template b/srcpkgs/hatch-fancy-pypi-readme/template
new file mode 100644
index 0000000000000..c1c628ff17e84
--- /dev/null
+++ b/srcpkgs/hatch-fancy-pypi-readme/template
@@ -0,0 +1,15 @@
+# Template file for 'hatch-fancy-pypi-readme'
+pkgname=hatch-fancy-pypi-readme
+version=23.1.0
+revision=1
+build_style=python3-pep517
+hostmakedepends="hatchling"
+depends="hatchling"
+checkdepends="python3-pytest python3-wheel"
+short_desc="Hatch plugin for fancy readme"
+maintainer="Luciogi <lucigithubcommit@skiff.com>"
+license="GPL-3.0-or-later"
+homepage="https://github.com/hynek/hatch-fancy-pypi-readme"
+changelog="https://github.com/hynek/hatch-fancy-pypi-readme/raw/main/CHANGELOG.md"
+distfiles="${PYPI_SITE}/h/hatch_fancy_pypi_readme/hatch_fancy_pypi_readme-${version}.tar.gz"
+checksum=b1df44063094af1e8248ceacd47a92c9cf313d6b9823bf66af8a927c3960287d

From b3b463830bb83b406e09e6a746ec1916a8f00f08 Mon Sep 17 00:00:00 2001
From: Luciogi <lucigithubcommit@skiff.com>
Date: Tue, 21 Nov 2023 20:46:45 +0500
Subject: [PATCH 2/5] New package: rapidfuzz-cpp

---
 srcpkgs/rapidfuzz-cpp/template | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
 create mode 100644 srcpkgs/rapidfuzz-cpp/template

diff --git a/srcpkgs/rapidfuzz-cpp/template b/srcpkgs/rapidfuzz-cpp/template
new file mode 100644
index 0000000000000..d08266171f30a
--- /dev/null
+++ b/srcpkgs/rapidfuzz-cpp/template
@@ -0,0 +1,17 @@
+# Template file for 'rapidfuzz-cpp'
+pkgname=rapidfuzz-cpp
+version=2.2.3
+revision=1
+#archs="i686 x86_64"
+build_style=cmake
+short_desc="Rapid fuzzy string matching in C++ using the Levenshtein Distance"
+maintainer="Luciogi <lucigithubcommit@skiff.com>"
+license="MIT"
+homepage="https://github.com/maxbachmann/rapidfuzz-cpp"
+changelog="https://github.com/maxbachmann/rapidfuzz-cpp/raw/main/CHANGELOG.md"
+distfiles="https://github.com/maxbachmann/rapidfuzz-cpp/archive/refs/tags/v${version}.tar.gz>${pkgname}-${version}.tar.gz"
+checksum=df4412e9593945782de2212095bd4b70a8f8e63ae8f313976c616809be124d2c
+
+post_install() {
+	vlicense LICENSE
+}

From 48e03315693fb945c3ba98d19aacefee247ee07d Mon Sep 17 00:00:00 2001
From: Luciogi <lucigithubcommit@skiff.com>
Date: Tue, 21 Nov 2023 20:50:10 +0500
Subject: [PATCH 3/5] New package: python3-scikit-build

---
 srcpkgs/python3-scikit-build/template | 28 +++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)
 create mode 100644 srcpkgs/python3-scikit-build/template

diff --git a/srcpkgs/python3-scikit-build/template b/srcpkgs/python3-scikit-build/template
new file mode 100644
index 0000000000000..dfd329be39f6b
--- /dev/null
+++ b/srcpkgs/python3-scikit-build/template
@@ -0,0 +1,28 @@
+# Template file for 'python3-scikit-build'
+pkgname=python3-scikit-build
+version=0.17.6
+revision=1
+build_style=python3-pep517
+hostmakedepends="hatchling hatch-vcs hatch-fancy-pypi-readme"
+depends="python3-distro python3-packaging python3-setuptools python3-wheel"
+checkdepends="${depends} python3-devel python3-Cython python3-numpy python3-pytest
+ python3-pytest-mock python3-requests python3-virtualenv python3-path python3-six
+ git cmake gcc gcc-fortran"
+short_desc="Build system generator for Python C/C++/Fortran/Cython extensions"
+maintainer="Luciogi <lucigithubcommit@skiff.com>"
+license="MIT"
+homepage="https://github.com/scikit-build/scikit-build"
+changelog="https://github.com/scikit-build/scikit-build/raw/main/CHANGES.rst"
+distfiles="${PYPI_SITE}/s/scikit_build/scikit_build-${version}.tar.gz"
+checksum=b51a51a36b37c42650994b5047912f59b22e3210b23e321f287611f9ef6e5c9d
+pre_check() {
+	python -m venv test-env --system-site-package
+}
+
+do_check() {
+	test-env/bin/python /usr/bin/pytest -m "not isolated and not deprecated and not nosetuptoolsscm"
+}
+
+post_install() {
+	vlicense LICENSE
+}

From 9d8959def3d1e3b07ce4eaf603c93d5d6ce0bc78 Mon Sep 17 00:00:00 2001
From: Luciogi <lucigithubcommit@skiff.com>
Date: Wed, 22 Nov 2023 11:27:12 +0500
Subject: [PATCH 4/5] python3-Levenshtein: update to 0.23.0.

---
 srcpkgs/python3-Levenshtein/template | 23 +++++++++++++++--------
 1 file changed, 15 insertions(+), 8 deletions(-)

diff --git a/srcpkgs/python3-Levenshtein/template b/srcpkgs/python3-Levenshtein/template
index 044c5d1492408..8fb58fa35d73c 100644
--- a/srcpkgs/python3-Levenshtein/template
+++ b/srcpkgs/python3-Levenshtein/template
@@ -1,14 +1,21 @@
 # Template file for 'python3-Levenshtein'
 pkgname=python3-Levenshtein
-version=0.12.0
-revision=9
+version=0.23.0
+revision=1
 build_style=python3-module
-hostmakedepends="python3-devel python3-setuptools"
-makedepends="python3-devel"
-depends="python3"
+make_check_target="tests"
+hostmakedepends="python3-setuptools cmake"
+makedepends="python3-devel python3-scikit-build python3-RapidFuzz"
+depends="python3-RapidFuzz"
+checkdepends="python3-pytest"
 short_desc="Functions for computation of distance and string similarity (Python3)"
 maintainer="Orphaned <orphan@voidlinux.org>"
 license="GPL-2.0-or-later"
-homepage="https://pypi.org/project/python-Levenshtein/"
-distfiles="${PYPI_SITE}/p/python-Levenshtein/python-Levenshtein-${version}.tar.gz"
-checksum=033a11de5e3d19ea25c9302d11224e1a1898fe5abd23c61c7c360c25195e3eb1
+homepage="https://github.com/maxbachmann/Levenshtein"
+distfiles="${PYPI_SITE}/L/Levenshtein/Levenshtein-${version}.tar.gz"
+checksum=de7ccc31a471ea5bfafabe804c12a63e18b4511afc1014f23c3cc7be8c70d3bd
+
+do_check() {
+	PYTHONPATH=$(echo "$(pwd)"/_skbuild/linux-${XBPS_TARGET_MACHINE}-*/setuptools/lib.linux-${XBPS_TARGET_MACHINE}-*) \
+	python -m pytest -v
+}

From d572b4b87c82a7811e1f01df32a4780ea667df69 Mon Sep 17 00:00:00 2001
From: Luciogi <lucigithubcommit@skiff.com>
Date: Wed, 22 Nov 2023 11:35:12 +0500
Subject: [PATCH 5/5] New package: python3-RapidFuzz

---
 srcpkgs/python3-RapidFuzz/template | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)
 create mode 100644 srcpkgs/python3-RapidFuzz/template

diff --git a/srcpkgs/python3-RapidFuzz/template b/srcpkgs/python3-RapidFuzz/template
new file mode 100644
index 0000000000000..da3a3faa3e953
--- /dev/null
+++ b/srcpkgs/python3-RapidFuzz/template
@@ -0,0 +1,24 @@
+# Template file for 'python3-RapidFuzz'
+pkgname=python3-RapidFuzz
+version=3.5.2
+revision=1
+build_style=python3-module
+hostmakedepends="python3-scikit-build"
+makedepends="python3-Cython rapidfuzz-cpp cmake ninja python3-devel"
+checkdepends="python3-pytest python3-hypothesis python3-pandas"
+short_desc="Rapid fuzzy string matching in Python using the Levenshtein Distance"
+maintainer="Luciogi <lucigithubcommit@skiff.com>"
+license="MIT"
+homepage="https://github.com/maxbachmann/RapidFuzz"
+changelog="https://raw.githubusercontent.com/maxbachmann/RapidFuzz/main/CHANGELOG.rst"
+distfiles="${PYPI_SITE}/r/rapidfuzz/rapidfuzz-${version}.tar.gz"
+checksum=9e9b395743e12c36a3167a3a9fd1b4e11d92fb0aa21ec98017ee6df639ed385e
+
+do_check() {
+        PYTHONPATH=$(echo "$(pwd)"/_skbuild/linux-${XBPS_TARGET_MACHINE}-*/setuptools/lib.linux-${XBPS_TARGET_MACHINE}-*) \
+        python -m pytest -v
+}
+
+post_install() {
+	vlicense LICENSE
+}

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [PR PATCH] [Updated] python3-Levenshtein: update to 0.23.0
  2023-11-22  6:36 [PR PATCH] python3-Levenshtein: update to 0.23.0 Luciogi
  2023-11-22  8:50 ` [PR PATCH] [Updated] " Luciogi
  2023-11-22  9:14 ` Luciogi
@ 2023-11-22  9:17 ` Luciogi
  2023-11-22 11:22 ` Luciogi
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 11+ messages in thread
From: Luciogi @ 2023-11-22  9:17 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 800 bytes --]

There is an updated pull request by Luciogi against master on the void-packages repository

https://github.com/Luciogi/void-packages py3-Levenshtein
https://github.com/void-linux/void-packages/pull/47349

python3-Levenshtein: update to 0.23.0
#### Testing the changes
- I tested the changes in this PR: **In-Progress**

#### New dependency package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**

#### Local build testing
- I built this PR locally for my native architecture, (x86_64-GLIBC)

### Fixes 
- broken Ulauncher

### Doubt
-  rapidfuzz-cpp: Does  it need patch for musl ? 

A patch file from https://github.com/void-linux/void-packages/pull/47349.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-py3-Levenshtein-47349.patch --]
[-- Type: text/x-diff, Size: 7462 bytes --]

From d89fe7f371e6569e0a70e6868c2ee265a0c216c1 Mon Sep 17 00:00:00 2001
From: Luciogi <lucigithubcommit@skiff.com>
Date: Tue, 21 Nov 2023 20:45:18 +0500
Subject: [PATCH 1/5] New package: hatch-fancy-pypi-readme

---
 srcpkgs/hatch-fancy-pypi-readme/template | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
 create mode 100644 srcpkgs/hatch-fancy-pypi-readme/template

diff --git a/srcpkgs/hatch-fancy-pypi-readme/template b/srcpkgs/hatch-fancy-pypi-readme/template
new file mode 100644
index 0000000000000..c1c628ff17e84
--- /dev/null
+++ b/srcpkgs/hatch-fancy-pypi-readme/template
@@ -0,0 +1,15 @@
+# Template file for 'hatch-fancy-pypi-readme'
+pkgname=hatch-fancy-pypi-readme
+version=23.1.0
+revision=1
+build_style=python3-pep517
+hostmakedepends="hatchling"
+depends="hatchling"
+checkdepends="python3-pytest python3-wheel"
+short_desc="Hatch plugin for fancy readme"
+maintainer="Luciogi <lucigithubcommit@skiff.com>"
+license="GPL-3.0-or-later"
+homepage="https://github.com/hynek/hatch-fancy-pypi-readme"
+changelog="https://github.com/hynek/hatch-fancy-pypi-readme/raw/main/CHANGELOG.md"
+distfiles="${PYPI_SITE}/h/hatch_fancy_pypi_readme/hatch_fancy_pypi_readme-${version}.tar.gz"
+checksum=b1df44063094af1e8248ceacd47a92c9cf313d6b9823bf66af8a927c3960287d

From b3b463830bb83b406e09e6a746ec1916a8f00f08 Mon Sep 17 00:00:00 2001
From: Luciogi <lucigithubcommit@skiff.com>
Date: Tue, 21 Nov 2023 20:46:45 +0500
Subject: [PATCH 2/5] New package: rapidfuzz-cpp

---
 srcpkgs/rapidfuzz-cpp/template | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
 create mode 100644 srcpkgs/rapidfuzz-cpp/template

diff --git a/srcpkgs/rapidfuzz-cpp/template b/srcpkgs/rapidfuzz-cpp/template
new file mode 100644
index 0000000000000..d08266171f30a
--- /dev/null
+++ b/srcpkgs/rapidfuzz-cpp/template
@@ -0,0 +1,17 @@
+# Template file for 'rapidfuzz-cpp'
+pkgname=rapidfuzz-cpp
+version=2.2.3
+revision=1
+#archs="i686 x86_64"
+build_style=cmake
+short_desc="Rapid fuzzy string matching in C++ using the Levenshtein Distance"
+maintainer="Luciogi <lucigithubcommit@skiff.com>"
+license="MIT"
+homepage="https://github.com/maxbachmann/rapidfuzz-cpp"
+changelog="https://github.com/maxbachmann/rapidfuzz-cpp/raw/main/CHANGELOG.md"
+distfiles="https://github.com/maxbachmann/rapidfuzz-cpp/archive/refs/tags/v${version}.tar.gz>${pkgname}-${version}.tar.gz"
+checksum=df4412e9593945782de2212095bd4b70a8f8e63ae8f313976c616809be124d2c
+
+post_install() {
+	vlicense LICENSE
+}

From 48e03315693fb945c3ba98d19aacefee247ee07d Mon Sep 17 00:00:00 2001
From: Luciogi <lucigithubcommit@skiff.com>
Date: Tue, 21 Nov 2023 20:50:10 +0500
Subject: [PATCH 3/5] New package: python3-scikit-build

---
 srcpkgs/python3-scikit-build/template | 28 +++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)
 create mode 100644 srcpkgs/python3-scikit-build/template

diff --git a/srcpkgs/python3-scikit-build/template b/srcpkgs/python3-scikit-build/template
new file mode 100644
index 0000000000000..dfd329be39f6b
--- /dev/null
+++ b/srcpkgs/python3-scikit-build/template
@@ -0,0 +1,28 @@
+# Template file for 'python3-scikit-build'
+pkgname=python3-scikit-build
+version=0.17.6
+revision=1
+build_style=python3-pep517
+hostmakedepends="hatchling hatch-vcs hatch-fancy-pypi-readme"
+depends="python3-distro python3-packaging python3-setuptools python3-wheel"
+checkdepends="${depends} python3-devel python3-Cython python3-numpy python3-pytest
+ python3-pytest-mock python3-requests python3-virtualenv python3-path python3-six
+ git cmake gcc gcc-fortran"
+short_desc="Build system generator for Python C/C++/Fortran/Cython extensions"
+maintainer="Luciogi <lucigithubcommit@skiff.com>"
+license="MIT"
+homepage="https://github.com/scikit-build/scikit-build"
+changelog="https://github.com/scikit-build/scikit-build/raw/main/CHANGES.rst"
+distfiles="${PYPI_SITE}/s/scikit_build/scikit_build-${version}.tar.gz"
+checksum=b51a51a36b37c42650994b5047912f59b22e3210b23e321f287611f9ef6e5c9d
+pre_check() {
+	python -m venv test-env --system-site-package
+}
+
+do_check() {
+	test-env/bin/python /usr/bin/pytest -m "not isolated and not deprecated and not nosetuptoolsscm"
+}
+
+post_install() {
+	vlicense LICENSE
+}

From 9d8959def3d1e3b07ce4eaf603c93d5d6ce0bc78 Mon Sep 17 00:00:00 2001
From: Luciogi <lucigithubcommit@skiff.com>
Date: Wed, 22 Nov 2023 11:27:12 +0500
Subject: [PATCH 4/5] python3-Levenshtein: update to 0.23.0.

---
 srcpkgs/python3-Levenshtein/template | 23 +++++++++++++++--------
 1 file changed, 15 insertions(+), 8 deletions(-)

diff --git a/srcpkgs/python3-Levenshtein/template b/srcpkgs/python3-Levenshtein/template
index 044c5d1492408..8fb58fa35d73c 100644
--- a/srcpkgs/python3-Levenshtein/template
+++ b/srcpkgs/python3-Levenshtein/template
@@ -1,14 +1,21 @@
 # Template file for 'python3-Levenshtein'
 pkgname=python3-Levenshtein
-version=0.12.0
-revision=9
+version=0.23.0
+revision=1
 build_style=python3-module
-hostmakedepends="python3-devel python3-setuptools"
-makedepends="python3-devel"
-depends="python3"
+make_check_target="tests"
+hostmakedepends="python3-setuptools cmake"
+makedepends="python3-devel python3-scikit-build python3-RapidFuzz"
+depends="python3-RapidFuzz"
+checkdepends="python3-pytest"
 short_desc="Functions for computation of distance and string similarity (Python3)"
 maintainer="Orphaned <orphan@voidlinux.org>"
 license="GPL-2.0-or-later"
-homepage="https://pypi.org/project/python-Levenshtein/"
-distfiles="${PYPI_SITE}/p/python-Levenshtein/python-Levenshtein-${version}.tar.gz"
-checksum=033a11de5e3d19ea25c9302d11224e1a1898fe5abd23c61c7c360c25195e3eb1
+homepage="https://github.com/maxbachmann/Levenshtein"
+distfiles="${PYPI_SITE}/L/Levenshtein/Levenshtein-${version}.tar.gz"
+checksum=de7ccc31a471ea5bfafabe804c12a63e18b4511afc1014f23c3cc7be8c70d3bd
+
+do_check() {
+	PYTHONPATH=$(echo "$(pwd)"/_skbuild/linux-${XBPS_TARGET_MACHINE}-*/setuptools/lib.linux-${XBPS_TARGET_MACHINE}-*) \
+	python -m pytest -v
+}

From 23a54146283b1d96f1b035b9b51672117a1a5d68 Mon Sep 17 00:00:00 2001
From: Luciogi <lucigithubcommit@skiff.com>
Date: Wed, 22 Nov 2023 11:35:12 +0500
Subject: [PATCH 5/5] New package: python3-RapidFuzz

---
 srcpkgs/python3-RapidFuzz/template | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)
 create mode 100644 srcpkgs/python3-RapidFuzz/template

diff --git a/srcpkgs/python3-RapidFuzz/template b/srcpkgs/python3-RapidFuzz/template
new file mode 100644
index 0000000000000..112802019410a
--- /dev/null
+++ b/srcpkgs/python3-RapidFuzz/template
@@ -0,0 +1,24 @@
+# Template file for 'python3-RapidFuzz'
+pkgname=python3-RapidFuzz
+version=3.5.2
+revision=1
+build_style=python3-module
+hostmakedepends="python3-scikit-build"
+makedepends="python3-Cython rapidfuzz-cpp cmake ninja python3-devel"
+checkdepends="python3-pytest python3-hypothesis python3-pandas"
+short_desc="Rapid fuzzy string matching in Python using the Levenshtein Distance"
+maintainer="Luciogi <lucigithubcommit@skiff.com>"
+license="MIT"
+homepage="https://github.com/maxbachmann/RapidFuzz"
+changelog="https://raw.githubusercontent.com/maxbachmann/RapidFuzz/main/CHANGELOG.rst"
+distfiles="${PYPI_SITE}/r/rapidfuzz/rapidfuzz-${version}.tar.gz"
+checksum=9e9b395743e12c36a3167a3a9fd1b4e11d92fb0aa21ec98017ee6df639ed385e
+
+do_check() {
+	PYTHONPATH=$(echo "$(pwd)"/_skbuild/linux-${XBPS_TARGET_MACHINE}-*/setuptools/lib.linux-${XBPS_TARGET_MACHINE}-*) \
+	python -m pytest -v
+}
+
+post_install() {
+	vlicense LICENSE
+}

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [PR PATCH] [Updated] python3-Levenshtein: update to 0.23.0
  2023-11-22  6:36 [PR PATCH] python3-Levenshtein: update to 0.23.0 Luciogi
                   ` (2 preceding siblings ...)
  2023-11-22  9:17 ` Luciogi
@ 2023-11-22 11:22 ` Luciogi
  2023-11-22 11:34 ` [PR PATCH] [Closed]: " ahesford
  2023-11-22 11:34 ` ahesford
  5 siblings, 0 replies; 11+ messages in thread
From: Luciogi @ 2023-11-22 11:22 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 800 bytes --]

There is an updated pull request by Luciogi against master on the void-packages repository

https://github.com/Luciogi/void-packages py3-Levenshtein
https://github.com/void-linux/void-packages/pull/47349

python3-Levenshtein: update to 0.23.0
#### Testing the changes
- I tested the changes in this PR: **In-Progress**

#### New dependency package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**

#### Local build testing
- I built this PR locally for my native architecture, (x86_64-GLIBC)

### Fixes 
- broken Ulauncher

### Doubt
-  rapidfuzz-cpp: Does  it need patch for musl ? 

A patch file from https://github.com/void-linux/void-packages/pull/47349.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-py3-Levenshtein-47349.patch --]
[-- Type: text/x-diff, Size: 8054 bytes --]

From 8c8bab7fea1d392b7465211a9892be2423028637 Mon Sep 17 00:00:00 2001
From: Luciogi <lucigithubcommit@skiff.com>
Date: Tue, 21 Nov 2023 20:46:45 +0500
Subject: [PATCH 1/4] New package: rapidfuzz-cpp

---
 srcpkgs/rapidfuzz-cpp/template | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
 create mode 100644 srcpkgs/rapidfuzz-cpp/template

diff --git a/srcpkgs/rapidfuzz-cpp/template b/srcpkgs/rapidfuzz-cpp/template
new file mode 100644
index 0000000000000..d08266171f30a
--- /dev/null
+++ b/srcpkgs/rapidfuzz-cpp/template
@@ -0,0 +1,17 @@
+# Template file for 'rapidfuzz-cpp'
+pkgname=rapidfuzz-cpp
+version=2.2.3
+revision=1
+#archs="i686 x86_64"
+build_style=cmake
+short_desc="Rapid fuzzy string matching in C++ using the Levenshtein Distance"
+maintainer="Luciogi <lucigithubcommit@skiff.com>"
+license="MIT"
+homepage="https://github.com/maxbachmann/rapidfuzz-cpp"
+changelog="https://github.com/maxbachmann/rapidfuzz-cpp/raw/main/CHANGELOG.md"
+distfiles="https://github.com/maxbachmann/rapidfuzz-cpp/archive/refs/tags/v${version}.tar.gz>${pkgname}-${version}.tar.gz"
+checksum=df4412e9593945782de2212095bd4b70a8f8e63ae8f313976c616809be124d2c
+
+post_install() {
+	vlicense LICENSE
+}

From af5b57e63b6a7f52825e053001ca018717702f87 Mon Sep 17 00:00:00 2001
From: Luciogi <lucigithubcommit@skiff.com>
Date: Tue, 21 Nov 2023 20:50:10 +0500
Subject: [PATCH 2/4] New package: python3-scikit-build

---
 .../patches/remove-fancy-readme.patch         | 49 +++++++++++++++++++
 srcpkgs/python3-scikit-build/template         | 29 +++++++++++
 2 files changed, 78 insertions(+)
 create mode 100644 srcpkgs/python3-scikit-build/patches/remove-fancy-readme.patch
 create mode 100644 srcpkgs/python3-scikit-build/template

diff --git a/srcpkgs/python3-scikit-build/patches/remove-fancy-readme.patch b/srcpkgs/python3-scikit-build/patches/remove-fancy-readme.patch
new file mode 100644
index 0000000000000..087dc16d0ce2d
--- /dev/null
+++ b/srcpkgs/python3-scikit-build/patches/remove-fancy-readme.patch
@@ -0,0 +1,49 @@
+diff --git a/pyproject.toml b/pyproject.toml
+index 8b31b64..b77e19e 100644
+--- a/pyproject.toml
++++ b/pyproject.toml
+@@ -1,5 +1,5 @@
+ [build-system]
+-requires = ["hatchling", "hatch-fancy-pypi-readme", "hatch-vcs"]
++requires = ["hatchling", "hatch-vcs"]
+ build-backend = "hatchling.build"
+ 
+ [project]
+@@ -75,37 +75,6 @@ build.targets.wheel.packages = ["skbuild"]
+ version.source = "vcs"
+ build.hooks.vcs.version-file = "skbuild/_version.py"
+ 
+-
+-[tool.hatch.metadata.hooks.fancy-pypi-readme]
+-content-type = "text/x-rst"
+-
+-[[tool.hatch.metadata.hooks.fancy-pypi-readme.fragments]]
+-path = "README.rst"
+-start-after = ".. START-INTRO"
+-end-before = ".. END-INTRO"
+-
+-[[tool.hatch.metadata.hooks.fancy-pypi-readme.fragments]]
+-path = "CHANGES.rst"
+-start-after = ".. START-BRIEF-CHANGELOG"
+-end-before = ".. END-BRIEF-CHANGELOG"
+-
+-[[tool.hatch.metadata.hooks.fancy-pypi-readme.fragments]]
+-path = "README.rst"
+-start-after = ".. INJECT-CHANGELOG"
+-
+-[[tool.hatch.metadata.hooks.fancy-pypi-readme.substitutions]]
+-pattern = ':pr:`(\d+)`'
+-replacement = '`#\1 <https://github.com/scikit-build/scikit-build/pull/\1>`_'
+-
+-[[tool.hatch.metadata.hooks.fancy-pypi-readme.substitutions]]
+-pattern = ':issue:`(\d+)`'
+-replacement = '`#\1 <https://github.com/scikit-build/scikit-build/issues/\1>`_'
+-
+-[[tool.hatch.metadata.hooks.fancy-pypi-readme.substitutions]]
+-pattern = ':user:`(\S+)`'
+-replacement = '`@\1 <https://github.com/\1>`_'
+-
+-
+ [tool.black]
+ line-length = 120
+ 
diff --git a/srcpkgs/python3-scikit-build/template b/srcpkgs/python3-scikit-build/template
new file mode 100644
index 0000000000000..9df9ac0c294e8
--- /dev/null
+++ b/srcpkgs/python3-scikit-build/template
@@ -0,0 +1,29 @@
+# Template file for 'python3-scikit-build'
+pkgname=python3-scikit-build
+version=0.17.6
+revision=1
+build_style=python3-pep517
+hostmakedepends="hatchling hatch-vcs"
+depends="python3-distro python3-packaging python3-setuptools python3-wheel"
+checkdepends="${depends} python3-devel python3-Cython python3-numpy python3-pytest
+ python3-pytest-mock python3-requests python3-virtualenv python3-path python3-six
+ git cmake gcc gcc-fortran"
+short_desc="Build system generator for Python C/C++/Fortran/Cython extensions"
+maintainer="Luciogi <lucigithubcommit@skiff.com>"
+license="MIT"
+homepage="https://github.com/scikit-build/scikit-build"
+changelog="https://github.com/scikit-build/scikit-build/raw/main/CHANGES.rst"
+distfiles="${PYPI_SITE}/s/scikit_build/scikit_build-${version}.tar.gz"
+checksum=b51a51a36b37c42650994b5047912f59b22e3210b23e321f287611f9ef6e5c9d
+pre_check() {
+	# Tests run in only virtual environment
+	python -m venv test-env --system-site-package
+}
+
+do_check() {
+	test-env/bin/python /usr/bin/pytest -m "not isolated and not deprecated and not nosetuptoolsscm"
+}
+
+post_install() {
+	vlicense LICENSE
+}

From 8a80be9ef79b7311985ec0fcf3105e0e8caac996 Mon Sep 17 00:00:00 2001
From: Luciogi <lucigithubcommit@skiff.com>
Date: Wed, 22 Nov 2023 11:27:12 +0500
Subject: [PATCH 3/4] python3-Levenshtein: update to 0.23.0.

---
 srcpkgs/python3-Levenshtein/template | 23 +++++++++++++++--------
 1 file changed, 15 insertions(+), 8 deletions(-)

diff --git a/srcpkgs/python3-Levenshtein/template b/srcpkgs/python3-Levenshtein/template
index 044c5d1492408..9402aa902e16a 100644
--- a/srcpkgs/python3-Levenshtein/template
+++ b/srcpkgs/python3-Levenshtein/template
@@ -1,14 +1,21 @@
 # Template file for 'python3-Levenshtein'
 pkgname=python3-Levenshtein
-version=0.12.0
-revision=9
+version=0.23.0
+revision=1
 build_style=python3-module
-hostmakedepends="python3-devel python3-setuptools"
-makedepends="python3-devel"
-depends="python3"
+make_check_target="tests"
+hostmakedepends="python3-setuptools cmake"
+makedepends="python3-devel python3-scikit-build python3-RapidFuzz"
+depends="python3-RapidFuzz"
+checkdepends="python3-pytest"
 short_desc="Functions for computation of distance and string similarity (Python3)"
 maintainer="Orphaned <orphan@voidlinux.org>"
 license="GPL-2.0-or-later"
-homepage="https://pypi.org/project/python-Levenshtein/"
-distfiles="${PYPI_SITE}/p/python-Levenshtein/python-Levenshtein-${version}.tar.gz"
-checksum=033a11de5e3d19ea25c9302d11224e1a1898fe5abd23c61c7c360c25195e3eb1
+homepage="https://github.com/maxbachmann/Levenshtein"
+distfiles="${PYPI_SITE}/L/Levenshtein/Levenshtein-${version}.tar.gz"
+checksum=de7ccc31a471ea5bfafabe804c12a63e18b4511afc1014f23c3cc7be8c70d3bd
+
+do_check() {
+	PYTHONPATH=$(cd _skbuild/linux*/setuptools/lib* && pwd) \
+	python -m pytest -v
+}

From bafb44ee9becc5875b74448d54ed08c7a79eed03 Mon Sep 17 00:00:00 2001
From: Luciogi <lucigithubcommit@skiff.com>
Date: Wed, 22 Nov 2023 11:35:12 +0500
Subject: [PATCH 4/4] New package: python3-RapidFuzz

---
 srcpkgs/python3-RapidFuzz/template | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)
 create mode 100644 srcpkgs/python3-RapidFuzz/template

diff --git a/srcpkgs/python3-RapidFuzz/template b/srcpkgs/python3-RapidFuzz/template
new file mode 100644
index 0000000000000..1b5c5f32a599b
--- /dev/null
+++ b/srcpkgs/python3-RapidFuzz/template
@@ -0,0 +1,24 @@
+# Template file for 'python3-RapidFuzz'
+pkgname=python3-RapidFuzz
+version=3.5.2
+revision=1
+build_style=python3-module
+hostmakedepends="python3-scikit-build"
+makedepends="python3-Cython rapidfuzz-cpp cmake ninja python3-devel"
+checkdepends="python3-pytest python3-hypothesis python3-pandas"
+short_desc="Rapid fuzzy string matching in Python using the Levenshtein Distance"
+maintainer="Luciogi <lucigithubcommit@skiff.com>"
+license="MIT"
+homepage="https://github.com/maxbachmann/RapidFuzz"
+changelog="https://raw.githubusercontent.com/maxbachmann/RapidFuzz/main/CHANGELOG.rst"
+distfiles="${PYPI_SITE}/r/rapidfuzz/rapidfuzz-${version}.tar.gz"
+checksum=9e9b395743e12c36a3167a3a9fd1b4e11d92fb0aa21ec98017ee6df639ed385e
+
+do_check() {
+	PYTHONPATH=$(cd _skbuild/linux*/setuptools/lib* && pwd) \
+	python -m pytest -v
+}
+
+post_install() {
+	vlicense LICENSE
+}

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [PR PATCH] [Closed]: python3-Levenshtein: update to 0.23.0
  2023-11-22  6:36 [PR PATCH] python3-Levenshtein: update to 0.23.0 Luciogi
                   ` (3 preceding siblings ...)
  2023-11-22 11:22 ` Luciogi
@ 2023-11-22 11:34 ` ahesford
  2023-11-22 11:34 ` ahesford
  5 siblings, 0 replies; 11+ messages in thread
From: ahesford @ 2023-11-22 11:34 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 636 bytes --]

There's a closed pull request on the void-packages repository

python3-Levenshtein: update to 0.23.0
https://github.com/void-linux/void-packages/pull/47349

Description:
#### Testing the changes
- I tested the changes in this PR: **In-Progress**

#### New dependency package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**

#### Local build testing
- I built this PR locally for my native architecture, (x86_64-GLIBC)

### Fixes 
- broken Ulauncher

### Doubt
-  rapidfuzz-cpp: Does  it need patch for musl ? 

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: python3-Levenshtein: update to 0.23.0
  2023-11-22  6:36 [PR PATCH] python3-Levenshtein: update to 0.23.0 Luciogi
                   ` (4 preceding siblings ...)
  2023-11-22 11:34 ` [PR PATCH] [Closed]: " ahesford
@ 2023-11-22 11:34 ` ahesford
  5 siblings, 0 replies; 11+ messages in thread
From: ahesford @ 2023-11-22 11:34 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 150 bytes --]

New comment by ahesford on void-packages repository

https://github.com/void-linux/void-packages/pull/47349#issuecomment-1822602374

Comment:
#46624 

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [PR PATCH] [Updated] python3-Levenshtein: update to 0.23.0
  2023-10-11 21:59 [PR PATCH] " chrysos349
                   ` (2 preceding siblings ...)
  2023-10-13  3:19 ` chrysos349
@ 2023-10-14  0:20 ` chrysos349
  3 siblings, 0 replies; 11+ messages in thread
From: chrysos349 @ 2023-10-14  0:20 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 675 bytes --]

There is an updated pull request by chrysos349 against master on the void-packages repository

https://github.com/chrysos349/void-packages python3-Levenshtein
https://github.com/void-linux/void-packages/pull/46624

python3-Levenshtein: update to 0.23.0
fixes #46581
fixes #46545

#### Testing the changes
- I tested the changes in this PR: **YES**

#### Local build testing
- I built this PR locally for my native architecture, (x86_64)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl x
  - armv7l x
  - armv6l-musl x


A patch file from https://github.com/void-linux/void-packages/pull/46624.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-python3-Levenshtein-46624.patch --]
[-- Type: text/x-diff, Size: 7475 bytes --]

From 260e7980f2f70866205393771e1a48bac14ca1e0 Mon Sep 17 00:00:00 2001
From: chrysos349 <chrysostom349@gmail.com>
Date: Thu, 12 Oct 2023 00:51:53 +0300
Subject: [PATCH 1/4] New package: python3-scikit-build-0.17.6

---
 .../patch-out-hatch-fancy-pypi-readme.patch   | 44 +++++++++++++++++++
 srcpkgs/python3-scikit-build/template         | 22 ++++++++++
 2 files changed, 66 insertions(+)
 create mode 100644 srcpkgs/python3-scikit-build/patches/patch-out-hatch-fancy-pypi-readme.patch
 create mode 100644 srcpkgs/python3-scikit-build/template

diff --git a/srcpkgs/python3-scikit-build/patches/patch-out-hatch-fancy-pypi-readme.patch b/srcpkgs/python3-scikit-build/patches/patch-out-hatch-fancy-pypi-readme.patch
new file mode 100644
index 0000000000000..489356ed8cfde
--- /dev/null
+++ b/srcpkgs/python3-scikit-build/patches/patch-out-hatch-fancy-pypi-readme.patch
@@ -0,0 +1,44 @@
+--- a/pyproject.toml
++++ b/pyproject.toml
+@@ -1,5 +1,5 @@
+ [build-system]
+-requires = ["hatchling", "hatch-fancy-pypi-readme", "hatch-vcs"]
++requires = ["hatchling", "hatch-vcs"]
+ build-backend = "hatchling.build"
+ 
+ [project]
+@@ -76,34 +76,6 @@
+ build.hooks.vcs.version-file = "skbuild/_version.py"
+ 
+ 
+-[tool.hatch.metadata.hooks.fancy-pypi-readme]
+-content-type = "text/x-rst"
+-
+-[[tool.hatch.metadata.hooks.fancy-pypi-readme.fragments]]
+-path = "README.rst"
+-start-after = ".. START-INTRO"
+-end-before = ".. END-INTRO"
+-
+-[[tool.hatch.metadata.hooks.fancy-pypi-readme.fragments]]
+-path = "CHANGES.rst"
+-start-after = ".. START-BRIEF-CHANGELOG"
+-end-before = ".. END-BRIEF-CHANGELOG"
+-
+-[[tool.hatch.metadata.hooks.fancy-pypi-readme.fragments]]
+-path = "README.rst"
+-start-after = ".. INJECT-CHANGELOG"
+-
+-[[tool.hatch.metadata.hooks.fancy-pypi-readme.substitutions]]
+-pattern = ':pr:`(\d+)`'
+-replacement = '`#\1 <https://github.com/scikit-build/scikit-build/pull/\1>`_'
+-
+-[[tool.hatch.metadata.hooks.fancy-pypi-readme.substitutions]]
+-pattern = ':issue:`(\d+)`'
+-replacement = '`#\1 <https://github.com/scikit-build/scikit-build/issues/\1>`_'
+-
+-[[tool.hatch.metadata.hooks.fancy-pypi-readme.substitutions]]
+-pattern = ':user:`(\S+)`'
+-replacement = '`@\1 <https://github.com/\1>`_'
+ 
+ 
+ [tool.black]
diff --git a/srcpkgs/python3-scikit-build/template b/srcpkgs/python3-scikit-build/template
new file mode 100644
index 0000000000000..7645db435d5f5
--- /dev/null
+++ b/srcpkgs/python3-scikit-build/template
@@ -0,0 +1,22 @@
+# Template file for 'python3-scikit-build'
+pkgname=python3-scikit-build
+version=0.17.6
+revision=1
+build_style=python3-pep517
+# test requires setuptools_scm to not be installed
+make_check_args="-k not(nosetuptoolsscm)"
+hostmakedepends="hatch-vcs python3-wheel"
+depends="python3-distro python3-packaging python3-setuptools python3-wheel"
+checkdepends="${depends} cmake gcc-fortran git ninja python3-Cython
+ python3-devel python3-pip python3-pytest-mock python3-requests
+ python3-virtualenv"
+short_desc="Build system generator for Python C/C++/Cython/Fortran extensions"
+maintainer="chrysos349 <chrysostom349@gmail.com>"
+license="MIT"
+homepage="https://scikit-build.org"
+distfiles="${PYPI_SITE}/s/scikit_build/scikit_build-${version}.tar.gz"
+checksum=b51a51a36b37c42650994b5047912f59b22e3210b23e321f287611f9ef6e5c9d
+
+post_install() {
+	vlicense LICENSE
+}

From 4458f21ce24f135bef0eea6df993e3a05d20a533 Mon Sep 17 00:00:00 2001
From: chrysos349 <chrysostom349@gmail.com>
Date: Thu, 12 Oct 2023 00:52:26 +0300
Subject: [PATCH 2/4] New package: rapidfuzz-cpp-2.1.1

---
 srcpkgs/rapidfuzz-cpp/template | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
 create mode 100644 srcpkgs/rapidfuzz-cpp/template

diff --git a/srcpkgs/rapidfuzz-cpp/template b/srcpkgs/rapidfuzz-cpp/template
new file mode 100644
index 0000000000000..72e957c9d131e
--- /dev/null
+++ b/srcpkgs/rapidfuzz-cpp/template
@@ -0,0 +1,15 @@
+# Template file for 'rapidfuzz-cpp'
+pkgname=rapidfuzz-cpp
+version=2.1.1
+revision=1
+build_style=cmake
+short_desc="Rapid fuzzy string matching in C++ using the Levenshtein Distance"
+maintainer="chrysos349 <chrysostom349@gmail.com>"
+license="MIT"
+homepage="https://github.com/maxbachmann/rapidfuzz-cpp"
+distfiles="https://github.com/maxbachmann/rapidfuzz-cpp/archive/v${version}.tar.gz"
+checksum=1680c0dbf77d228ea81825c24755db99ee0e21a8db3663b5136741b3e108c3f2
+
+post_install() {
+	vlicense LICENSE
+}

From bc7684435eb16cb0809e95d16835be69b3451806 Mon Sep 17 00:00:00 2001
From: chrysos349 <chrysostom349@gmail.com>
Date: Thu, 12 Oct 2023 00:53:04 +0300
Subject: [PATCH 3/4] New package: python3-rapidfuzz-3.4.0

---
 srcpkgs/python3-rapidfuzz/template | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)
 create mode 100644 srcpkgs/python3-rapidfuzz/template

diff --git a/srcpkgs/python3-rapidfuzz/template b/srcpkgs/python3-rapidfuzz/template
new file mode 100644
index 0000000000000..ab959d0936736
--- /dev/null
+++ b/srcpkgs/python3-rapidfuzz/template
@@ -0,0 +1,21 @@
+# Template file for 'python3-rapidfuzz'
+pkgname=python3-rapidfuzz
+version=3.4.0
+revision=1
+build_style=python3-pep517
+hostmakedepends="cmake python3-scikit-build"
+makedepends="python3-devel rapidfuzz-cpp"
+depends="python3"
+checkdepends="python3-hypothesis python3-pandas python3-pytest"
+short_desc="Rapid fuzzy string matching in Python using various string metrics"
+maintainer="chrysos349 <chrysostom349@gmail.com>"
+license="MIT"
+homepage="https://github.com/maxbachmann/rapidfuzz"
+distfiles="${PYPI_SITE}/r/rapidfuzz/rapidfuzz-${version}.tar.gz"
+checksum=a74112e2126b428c77db5e96f7ce34e91e750552147305b2d361122cbede2955
+
+export CMAKE_ARGS="-DPython_INCLUDE_DIR:PATH=${XBPS_CROSS_BASE}/${py3_inc}"
+
+post_install() {
+	vlicense LICENSE
+}

From 2ec3c1eea6589e7fa266614db2ce4a9878f87c47 Mon Sep 17 00:00:00 2001
From: chrysos349 <chrysostom349@gmail.com>
Date: Thu, 12 Oct 2023 00:54:03 +0300
Subject: [PATCH 4/4] python3-Levenshtein: update to 0.23.0

---
 srcpkgs/python3-Levenshtein/template | 23 +++++++++++++----------
 1 file changed, 13 insertions(+), 10 deletions(-)

diff --git a/srcpkgs/python3-Levenshtein/template b/srcpkgs/python3-Levenshtein/template
index 044c5d1492408..9cb7fdad3c4f5 100644
--- a/srcpkgs/python3-Levenshtein/template
+++ b/srcpkgs/python3-Levenshtein/template
@@ -1,14 +1,17 @@
 # Template file for 'python3-Levenshtein'
 pkgname=python3-Levenshtein
-version=0.12.0
-revision=9
-build_style=python3-module
-hostmakedepends="python3-devel python3-setuptools"
-makedepends="python3-devel"
-depends="python3"
-short_desc="Functions for computation of distance and string similarity (Python3)"
+version=0.23.0
+revision=1
+build_style=python3-pep517
+hostmakedepends="cmake python3-scikit-build"
+makedepends="python3-devel rapidfuzz-cpp"
+depends="python3-rapidfuzz"
+checkdepends="${depends} python3-pytest"
+short_desc="Functions for computation of distance and string similarity"
 maintainer="Orphaned <orphan@voidlinux.org>"
 license="GPL-2.0-or-later"
-homepage="https://pypi.org/project/python-Levenshtein/"
-distfiles="${PYPI_SITE}/p/python-Levenshtein/python-Levenshtein-${version}.tar.gz"
-checksum=033a11de5e3d19ea25c9302d11224e1a1898fe5abd23c61c7c360c25195e3eb1
+homepage="https://github.com/maxbachmann/Levenshtein"
+distfiles="${PYPI_SITE}/L/Levenshtein/Levenshtein-${version}.tar.gz"
+checksum=de7ccc31a471ea5bfafabe804c12a63e18b4511afc1014f23c3cc7be8c70d3bd
+
+export CMAKE_ARGS="-DPython_INCLUDE_DIR:PATH=${XBPS_CROSS_BASE}/${py3_inc}"

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [PR PATCH] [Updated] python3-Levenshtein: update to 0.23.0
  2023-10-11 21:59 [PR PATCH] " chrysos349
  2023-10-11 22:35 ` [PR PATCH] [Updated] " chrysos349
  2023-10-11 23:59 ` chrysos349
@ 2023-10-13  3:19 ` chrysos349
  2023-10-14  0:20 ` chrysos349
  3 siblings, 0 replies; 11+ messages in thread
From: chrysos349 @ 2023-10-13  3:19 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 675 bytes --]

There is an updated pull request by chrysos349 against master on the void-packages repository

https://github.com/chrysos349/void-packages python3-Levenshtein
https://github.com/void-linux/void-packages/pull/46624

python3-Levenshtein: update to 0.23.0
fixes #46581
fixes #46545

#### Testing the changes
- I tested the changes in this PR: **YES**

#### Local build testing
- I built this PR locally for my native architecture, (x86_64)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl x
  - armv7l x
  - armv6l-musl x


A patch file from https://github.com/void-linux/void-packages/pull/46624.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-python3-Levenshtein-46624.patch --]
[-- Type: text/x-diff, Size: 7475 bytes --]

From 260e7980f2f70866205393771e1a48bac14ca1e0 Mon Sep 17 00:00:00 2001
From: chrysos349 <chrysostom349@gmail.com>
Date: Thu, 12 Oct 2023 00:51:53 +0300
Subject: [PATCH 1/4] New package: python3-scikit-build-0.17.6

---
 .../patch-out-hatch-fancy-pypi-readme.patch   | 44 +++++++++++++++++++
 srcpkgs/python3-scikit-build/template         | 22 ++++++++++
 2 files changed, 66 insertions(+)
 create mode 100644 srcpkgs/python3-scikit-build/patches/patch-out-hatch-fancy-pypi-readme.patch
 create mode 100644 srcpkgs/python3-scikit-build/template

diff --git a/srcpkgs/python3-scikit-build/patches/patch-out-hatch-fancy-pypi-readme.patch b/srcpkgs/python3-scikit-build/patches/patch-out-hatch-fancy-pypi-readme.patch
new file mode 100644
index 0000000000000..489356ed8cfde
--- /dev/null
+++ b/srcpkgs/python3-scikit-build/patches/patch-out-hatch-fancy-pypi-readme.patch
@@ -0,0 +1,44 @@
+--- a/pyproject.toml
++++ b/pyproject.toml
+@@ -1,5 +1,5 @@
+ [build-system]
+-requires = ["hatchling", "hatch-fancy-pypi-readme", "hatch-vcs"]
++requires = ["hatchling", "hatch-vcs"]
+ build-backend = "hatchling.build"
+ 
+ [project]
+@@ -76,34 +76,6 @@
+ build.hooks.vcs.version-file = "skbuild/_version.py"
+ 
+ 
+-[tool.hatch.metadata.hooks.fancy-pypi-readme]
+-content-type = "text/x-rst"
+-
+-[[tool.hatch.metadata.hooks.fancy-pypi-readme.fragments]]
+-path = "README.rst"
+-start-after = ".. START-INTRO"
+-end-before = ".. END-INTRO"
+-
+-[[tool.hatch.metadata.hooks.fancy-pypi-readme.fragments]]
+-path = "CHANGES.rst"
+-start-after = ".. START-BRIEF-CHANGELOG"
+-end-before = ".. END-BRIEF-CHANGELOG"
+-
+-[[tool.hatch.metadata.hooks.fancy-pypi-readme.fragments]]
+-path = "README.rst"
+-start-after = ".. INJECT-CHANGELOG"
+-
+-[[tool.hatch.metadata.hooks.fancy-pypi-readme.substitutions]]
+-pattern = ':pr:`(\d+)`'
+-replacement = '`#\1 <https://github.com/scikit-build/scikit-build/pull/\1>`_'
+-
+-[[tool.hatch.metadata.hooks.fancy-pypi-readme.substitutions]]
+-pattern = ':issue:`(\d+)`'
+-replacement = '`#\1 <https://github.com/scikit-build/scikit-build/issues/\1>`_'
+-
+-[[tool.hatch.metadata.hooks.fancy-pypi-readme.substitutions]]
+-pattern = ':user:`(\S+)`'
+-replacement = '`@\1 <https://github.com/\1>`_'
+ 
+ 
+ [tool.black]
diff --git a/srcpkgs/python3-scikit-build/template b/srcpkgs/python3-scikit-build/template
new file mode 100644
index 0000000000000..7645db435d5f5
--- /dev/null
+++ b/srcpkgs/python3-scikit-build/template
@@ -0,0 +1,22 @@
+# Template file for 'python3-scikit-build'
+pkgname=python3-scikit-build
+version=0.17.6
+revision=1
+build_style=python3-pep517
+# test requires setuptools_scm to not be installed
+make_check_args="-k not(nosetuptoolsscm)"
+hostmakedepends="hatch-vcs python3-wheel"
+depends="python3-distro python3-packaging python3-setuptools python3-wheel"
+checkdepends="${depends} cmake gcc-fortran git ninja python3-Cython
+ python3-devel python3-pip python3-pytest-mock python3-requests
+ python3-virtualenv"
+short_desc="Build system generator for Python C/C++/Cython/Fortran extensions"
+maintainer="chrysos349 <chrysostom349@gmail.com>"
+license="MIT"
+homepage="https://scikit-build.org"
+distfiles="${PYPI_SITE}/s/scikit_build/scikit_build-${version}.tar.gz"
+checksum=b51a51a36b37c42650994b5047912f59b22e3210b23e321f287611f9ef6e5c9d
+
+post_install() {
+	vlicense LICENSE
+}

From 4458f21ce24f135bef0eea6df993e3a05d20a533 Mon Sep 17 00:00:00 2001
From: chrysos349 <chrysostom349@gmail.com>
Date: Thu, 12 Oct 2023 00:52:26 +0300
Subject: [PATCH 2/4] New package: rapidfuzz-cpp-2.1.1

---
 srcpkgs/rapidfuzz-cpp/template | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
 create mode 100644 srcpkgs/rapidfuzz-cpp/template

diff --git a/srcpkgs/rapidfuzz-cpp/template b/srcpkgs/rapidfuzz-cpp/template
new file mode 100644
index 0000000000000..72e957c9d131e
--- /dev/null
+++ b/srcpkgs/rapidfuzz-cpp/template
@@ -0,0 +1,15 @@
+# Template file for 'rapidfuzz-cpp'
+pkgname=rapidfuzz-cpp
+version=2.1.1
+revision=1
+build_style=cmake
+short_desc="Rapid fuzzy string matching in C++ using the Levenshtein Distance"
+maintainer="chrysos349 <chrysostom349@gmail.com>"
+license="MIT"
+homepage="https://github.com/maxbachmann/rapidfuzz-cpp"
+distfiles="https://github.com/maxbachmann/rapidfuzz-cpp/archive/v${version}.tar.gz"
+checksum=1680c0dbf77d228ea81825c24755db99ee0e21a8db3663b5136741b3e108c3f2
+
+post_install() {
+	vlicense LICENSE
+}

From 32e4f9689eee9842604af5fb74ffc076618ee3ef Mon Sep 17 00:00:00 2001
From: chrysos349 <chrysostom349@gmail.com>
Date: Thu, 12 Oct 2023 00:53:04 +0300
Subject: [PATCH 3/4] New package: python3-rapidfuzz-3.2.0

---
 srcpkgs/python3-rapidfuzz/template | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)
 create mode 100644 srcpkgs/python3-rapidfuzz/template

diff --git a/srcpkgs/python3-rapidfuzz/template b/srcpkgs/python3-rapidfuzz/template
new file mode 100644
index 0000000000000..702fa1aa09006
--- /dev/null
+++ b/srcpkgs/python3-rapidfuzz/template
@@ -0,0 +1,21 @@
+# Template file for 'python3-rapidfuzz'
+pkgname=python3-rapidfuzz
+version=3.2.0
+revision=1
+build_style=python3-pep517
+hostmakedepends="cmake python3-scikit-build"
+makedepends="python3-devel rapidfuzz-cpp"
+depends="python3"
+checkdepends="python3-hypothesis python3-pandas python3-pytest"
+short_desc="Rapid fuzzy string matching in Python using various string metrics"
+maintainer="chrysos349 <chrysostom349@gmail.com>"
+license="MIT"
+homepage="https://github.com/maxbachmann/rapidfuzz"
+distfiles="${PYPI_SITE}/r/rapidfuzz/rapidfuzz-${version}.tar.gz"
+checksum=448d031d9960fea7826d42bd4284156fc68d3b55a6946eb34ca5c6acf960577b
+
+export CMAKE_ARGS="-DPython_INCLUDE_DIR:PATH=${XBPS_CROSS_BASE}/${py3_inc}"
+
+post_install() {
+	vlicense LICENSE
+}

From 85f5f768d164689386d63a82b5c2635cd319bb5f Mon Sep 17 00:00:00 2001
From: chrysos349 <chrysostom349@gmail.com>
Date: Thu, 12 Oct 2023 00:54:03 +0300
Subject: [PATCH 4/4] python3-Levenshtein: update to 0.23.0

---
 srcpkgs/python3-Levenshtein/template | 23 +++++++++++++----------
 1 file changed, 13 insertions(+), 10 deletions(-)

diff --git a/srcpkgs/python3-Levenshtein/template b/srcpkgs/python3-Levenshtein/template
index 044c5d1492408..9cb7fdad3c4f5 100644
--- a/srcpkgs/python3-Levenshtein/template
+++ b/srcpkgs/python3-Levenshtein/template
@@ -1,14 +1,17 @@
 # Template file for 'python3-Levenshtein'
 pkgname=python3-Levenshtein
-version=0.12.0
-revision=9
-build_style=python3-module
-hostmakedepends="python3-devel python3-setuptools"
-makedepends="python3-devel"
-depends="python3"
-short_desc="Functions for computation of distance and string similarity (Python3)"
+version=0.23.0
+revision=1
+build_style=python3-pep517
+hostmakedepends="cmake python3-scikit-build"
+makedepends="python3-devel rapidfuzz-cpp"
+depends="python3-rapidfuzz"
+checkdepends="${depends} python3-pytest"
+short_desc="Functions for computation of distance and string similarity"
 maintainer="Orphaned <orphan@voidlinux.org>"
 license="GPL-2.0-or-later"
-homepage="https://pypi.org/project/python-Levenshtein/"
-distfiles="${PYPI_SITE}/p/python-Levenshtein/python-Levenshtein-${version}.tar.gz"
-checksum=033a11de5e3d19ea25c9302d11224e1a1898fe5abd23c61c7c360c25195e3eb1
+homepage="https://github.com/maxbachmann/Levenshtein"
+distfiles="${PYPI_SITE}/L/Levenshtein/Levenshtein-${version}.tar.gz"
+checksum=de7ccc31a471ea5bfafabe804c12a63e18b4511afc1014f23c3cc7be8c70d3bd
+
+export CMAKE_ARGS="-DPython_INCLUDE_DIR:PATH=${XBPS_CROSS_BASE}/${py3_inc}"

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [PR PATCH] [Updated] python3-Levenshtein: update to 0.23.0
  2023-10-11 21:59 [PR PATCH] " chrysos349
  2023-10-11 22:35 ` [PR PATCH] [Updated] " chrysos349
@ 2023-10-11 23:59 ` chrysos349
  2023-10-13  3:19 ` chrysos349
  2023-10-14  0:20 ` chrysos349
  3 siblings, 0 replies; 11+ messages in thread
From: chrysos349 @ 2023-10-11 23:59 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 675 bytes --]

There is an updated pull request by chrysos349 against master on the void-packages repository

https://github.com/chrysos349/void-packages python3-Levenshtein
https://github.com/void-linux/void-packages/pull/46624

python3-Levenshtein: update to 0.23.0
fixes #46581
fixes #46545

#### Testing the changes
- I tested the changes in this PR: **YES**

#### Local build testing
- I built this PR locally for my native architecture, (x86_64)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl x
  - armv7l x
  - armv6l-musl x


A patch file from https://github.com/void-linux/void-packages/pull/46624.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-python3-Levenshtein-46624.patch --]
[-- Type: text/x-diff, Size: 7939 bytes --]

From 260e7980f2f70866205393771e1a48bac14ca1e0 Mon Sep 17 00:00:00 2001
From: chrysos349 <chrysostom349@gmail.com>
Date: Thu, 12 Oct 2023 00:51:53 +0300
Subject: [PATCH 1/4] New package: python3-scikit-build-0.17.6

---
 .../patch-out-hatch-fancy-pypi-readme.patch   | 44 +++++++++++++++++++
 srcpkgs/python3-scikit-build/template         | 22 ++++++++++
 2 files changed, 66 insertions(+)
 create mode 100644 srcpkgs/python3-scikit-build/patches/patch-out-hatch-fancy-pypi-readme.patch
 create mode 100644 srcpkgs/python3-scikit-build/template

diff --git a/srcpkgs/python3-scikit-build/patches/patch-out-hatch-fancy-pypi-readme.patch b/srcpkgs/python3-scikit-build/patches/patch-out-hatch-fancy-pypi-readme.patch
new file mode 100644
index 0000000000000..489356ed8cfde
--- /dev/null
+++ b/srcpkgs/python3-scikit-build/patches/patch-out-hatch-fancy-pypi-readme.patch
@@ -0,0 +1,44 @@
+--- a/pyproject.toml
++++ b/pyproject.toml
+@@ -1,5 +1,5 @@
+ [build-system]
+-requires = ["hatchling", "hatch-fancy-pypi-readme", "hatch-vcs"]
++requires = ["hatchling", "hatch-vcs"]
+ build-backend = "hatchling.build"
+ 
+ [project]
+@@ -76,34 +76,6 @@
+ build.hooks.vcs.version-file = "skbuild/_version.py"
+ 
+ 
+-[tool.hatch.metadata.hooks.fancy-pypi-readme]
+-content-type = "text/x-rst"
+-
+-[[tool.hatch.metadata.hooks.fancy-pypi-readme.fragments]]
+-path = "README.rst"
+-start-after = ".. START-INTRO"
+-end-before = ".. END-INTRO"
+-
+-[[tool.hatch.metadata.hooks.fancy-pypi-readme.fragments]]
+-path = "CHANGES.rst"
+-start-after = ".. START-BRIEF-CHANGELOG"
+-end-before = ".. END-BRIEF-CHANGELOG"
+-
+-[[tool.hatch.metadata.hooks.fancy-pypi-readme.fragments]]
+-path = "README.rst"
+-start-after = ".. INJECT-CHANGELOG"
+-
+-[[tool.hatch.metadata.hooks.fancy-pypi-readme.substitutions]]
+-pattern = ':pr:`(\d+)`'
+-replacement = '`#\1 <https://github.com/scikit-build/scikit-build/pull/\1>`_'
+-
+-[[tool.hatch.metadata.hooks.fancy-pypi-readme.substitutions]]
+-pattern = ':issue:`(\d+)`'
+-replacement = '`#\1 <https://github.com/scikit-build/scikit-build/issues/\1>`_'
+-
+-[[tool.hatch.metadata.hooks.fancy-pypi-readme.substitutions]]
+-pattern = ':user:`(\S+)`'
+-replacement = '`@\1 <https://github.com/\1>`_'
+ 
+ 
+ [tool.black]
diff --git a/srcpkgs/python3-scikit-build/template b/srcpkgs/python3-scikit-build/template
new file mode 100644
index 0000000000000..7645db435d5f5
--- /dev/null
+++ b/srcpkgs/python3-scikit-build/template
@@ -0,0 +1,22 @@
+# Template file for 'python3-scikit-build'
+pkgname=python3-scikit-build
+version=0.17.6
+revision=1
+build_style=python3-pep517
+# test requires setuptools_scm to not be installed
+make_check_args="-k not(nosetuptoolsscm)"
+hostmakedepends="hatch-vcs python3-wheel"
+depends="python3-distro python3-packaging python3-setuptools python3-wheel"
+checkdepends="${depends} cmake gcc-fortran git ninja python3-Cython
+ python3-devel python3-pip python3-pytest-mock python3-requests
+ python3-virtualenv"
+short_desc="Build system generator for Python C/C++/Cython/Fortran extensions"
+maintainer="chrysos349 <chrysostom349@gmail.com>"
+license="MIT"
+homepage="https://scikit-build.org"
+distfiles="${PYPI_SITE}/s/scikit_build/scikit_build-${version}.tar.gz"
+checksum=b51a51a36b37c42650994b5047912f59b22e3210b23e321f287611f9ef6e5c9d
+
+post_install() {
+	vlicense LICENSE
+}

From 4458f21ce24f135bef0eea6df993e3a05d20a533 Mon Sep 17 00:00:00 2001
From: chrysos349 <chrysostom349@gmail.com>
Date: Thu, 12 Oct 2023 00:52:26 +0300
Subject: [PATCH 2/4] New package: rapidfuzz-cpp-2.1.1

---
 srcpkgs/rapidfuzz-cpp/template | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
 create mode 100644 srcpkgs/rapidfuzz-cpp/template

diff --git a/srcpkgs/rapidfuzz-cpp/template b/srcpkgs/rapidfuzz-cpp/template
new file mode 100644
index 0000000000000..72e957c9d131e
--- /dev/null
+++ b/srcpkgs/rapidfuzz-cpp/template
@@ -0,0 +1,15 @@
+# Template file for 'rapidfuzz-cpp'
+pkgname=rapidfuzz-cpp
+version=2.1.1
+revision=1
+build_style=cmake
+short_desc="Rapid fuzzy string matching in C++ using the Levenshtein Distance"
+maintainer="chrysos349 <chrysostom349@gmail.com>"
+license="MIT"
+homepage="https://github.com/maxbachmann/rapidfuzz-cpp"
+distfiles="https://github.com/maxbachmann/rapidfuzz-cpp/archive/v${version}.tar.gz"
+checksum=1680c0dbf77d228ea81825c24755db99ee0e21a8db3663b5136741b3e108c3f2
+
+post_install() {
+	vlicense LICENSE
+}

From bf1fcc30e91ced565704f7a3b6e2a12e257bb74f Mon Sep 17 00:00:00 2001
From: chrysos349 <chrysostom349@gmail.com>
Date: Thu, 12 Oct 2023 00:53:04 +0300
Subject: [PATCH 3/4] New package: python3-rapidfuzz-3.2.0

---
 .../python3-rapidfuzz/files/README.voidlinux  |  2 ++
 srcpkgs/python3-rapidfuzz/template            | 22 +++++++++++++++++++
 2 files changed, 24 insertions(+)
 create mode 100644 srcpkgs/python3-rapidfuzz/files/README.voidlinux
 create mode 100644 srcpkgs/python3-rapidfuzz/template

diff --git a/srcpkgs/python3-rapidfuzz/files/README.voidlinux b/srcpkgs/python3-rapidfuzz/files/README.voidlinux
new file mode 100644
index 0000000000000..fd4aa98151f61
--- /dev/null
+++ b/srcpkgs/python3-rapidfuzz/files/README.voidlinux
@@ -0,0 +1,2 @@
+Optional dependencies:
+	python3-numpy
diff --git a/srcpkgs/python3-rapidfuzz/template b/srcpkgs/python3-rapidfuzz/template
new file mode 100644
index 0000000000000..935d11c96be2a
--- /dev/null
+++ b/srcpkgs/python3-rapidfuzz/template
@@ -0,0 +1,22 @@
+# Template file for 'python3-rapidfuzz'
+pkgname=python3-rapidfuzz
+version=3.2.0
+revision=1
+build_style=python3-pep517
+hostmakedepends="cmake python3-scikit-build"
+makedepends="python3-devel rapidfuzz-cpp"
+depends="python3"
+checkdepends="python3-hypothesis python3-pandas python3-pytest"
+short_desc="Rapid fuzzy string matching in Python using various string metrics"
+maintainer="chrysos349 <chrysostom349@gmail.com>"
+license="MIT"
+homepage="https://github.com/maxbachmann/rapidfuzz"
+distfiles="${PYPI_SITE}/r/rapidfuzz/rapidfuzz-${version}.tar.gz"
+checksum=448d031d9960fea7826d42bd4284156fc68d3b55a6946eb34ca5c6acf960577b
+
+export CMAKE_ARGS="-DPython_INCLUDE_DIR:PATH=${XBPS_CROSS_BASE}/${py3_inc}"
+
+post_install() {
+	vdoc ${FILESDIR}/README.voidlinux
+	vlicense LICENSE
+}

From 8556eca738b400c76edada2c8065dbe060092891 Mon Sep 17 00:00:00 2001
From: chrysos349 <chrysostom349@gmail.com>
Date: Thu, 12 Oct 2023 00:54:03 +0300
Subject: [PATCH 4/4] python3-Levenshtein: update to 0.23.0

---
 srcpkgs/python3-Levenshtein/template | 23 +++++++++++++----------
 1 file changed, 13 insertions(+), 10 deletions(-)

diff --git a/srcpkgs/python3-Levenshtein/template b/srcpkgs/python3-Levenshtein/template
index 044c5d1492408..9cb7fdad3c4f5 100644
--- a/srcpkgs/python3-Levenshtein/template
+++ b/srcpkgs/python3-Levenshtein/template
@@ -1,14 +1,17 @@
 # Template file for 'python3-Levenshtein'
 pkgname=python3-Levenshtein
-version=0.12.0
-revision=9
-build_style=python3-module
-hostmakedepends="python3-devel python3-setuptools"
-makedepends="python3-devel"
-depends="python3"
-short_desc="Functions for computation of distance and string similarity (Python3)"
+version=0.23.0
+revision=1
+build_style=python3-pep517
+hostmakedepends="cmake python3-scikit-build"
+makedepends="python3-devel rapidfuzz-cpp"
+depends="python3-rapidfuzz"
+checkdepends="${depends} python3-pytest"
+short_desc="Functions for computation of distance and string similarity"
 maintainer="Orphaned <orphan@voidlinux.org>"
 license="GPL-2.0-or-later"
-homepage="https://pypi.org/project/python-Levenshtein/"
-distfiles="${PYPI_SITE}/p/python-Levenshtein/python-Levenshtein-${version}.tar.gz"
-checksum=033a11de5e3d19ea25c9302d11224e1a1898fe5abd23c61c7c360c25195e3eb1
+homepage="https://github.com/maxbachmann/Levenshtein"
+distfiles="${PYPI_SITE}/L/Levenshtein/Levenshtein-${version}.tar.gz"
+checksum=de7ccc31a471ea5bfafabe804c12a63e18b4511afc1014f23c3cc7be8c70d3bd
+
+export CMAKE_ARGS="-DPython_INCLUDE_DIR:PATH=${XBPS_CROSS_BASE}/${py3_inc}"

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [PR PATCH] [Updated] python3-Levenshtein: update to 0.23.0
  2023-10-11 21:59 [PR PATCH] " chrysos349
@ 2023-10-11 22:35 ` chrysos349
  2023-10-11 23:59 ` chrysos349
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 11+ messages in thread
From: chrysos349 @ 2023-10-11 22:35 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 675 bytes --]

There is an updated pull request by chrysos349 against master on the void-packages repository

https://github.com/chrysos349/void-packages python3-Levenshtein
https://github.com/void-linux/void-packages/pull/46624

python3-Levenshtein: update to 0.23.0
fixes #46581
fixes #46545

#### Testing the changes
- I tested the changes in this PR: **YES**

#### Local build testing
- I built this PR locally for my native architecture, (x86_64)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl x
  - armv7l x
  - armv6l-musl x


A patch file from https://github.com/void-linux/void-packages/pull/46624.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-python3-Levenshtein-46624.patch --]
[-- Type: text/x-diff, Size: 7682 bytes --]

From c56d7c898e89789b7fdc55028aff7457f4082875 Mon Sep 17 00:00:00 2001
From: chrysos349 <chrysostom349@gmail.com>
Date: Thu, 12 Oct 2023 00:50:14 +0300
Subject: [PATCH 1/5] New package: hatch-fancy-pypi-readme-23.1.0

---
 srcpkgs/hatch-fancy-pypi-readme/template | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100644 srcpkgs/hatch-fancy-pypi-readme/template

diff --git a/srcpkgs/hatch-fancy-pypi-readme/template b/srcpkgs/hatch-fancy-pypi-readme/template
new file mode 100644
index 0000000000000..ec447f828cdb5
--- /dev/null
+++ b/srcpkgs/hatch-fancy-pypi-readme/template
@@ -0,0 +1,18 @@
+# Template file for 'hatch-fancy-pypi-readme'
+pkgname=hatch-fancy-pypi-readme
+version=23.1.0
+revision=1
+build_style=python3-pep517
+hostmakedepends="hatchling python3-wheel"
+depends="hatchling"
+checkdepends="python3-pytest ${depends}"
+short_desc="Fancy PyPI READMEs with Hatch"
+maintainer="chrysos349 <chrysostom349@gmail.com>"
+license="MIT"
+homepage="https://github.com/hynek/hatch-fancy-pypi-readme"
+distfiles="${PYPI_SITE}/h/hatch_fancy_pypi_readme/hatch_fancy_pypi_readme-${version}.tar.gz"
+checksum=b1df44063094af1e8248ceacd47a92c9cf313d6b9823bf66af8a927c3960287d
+
+post_install() {
+	vlicense LICENSE.txt
+}

From 9af4cd9f5a42f39072e7a254fa520a17d5aac572 Mon Sep 17 00:00:00 2001
From: chrysos349 <chrysostom349@gmail.com>
Date: Thu, 12 Oct 2023 00:51:53 +0300
Subject: [PATCH 2/5] New package: python3-scikit-build-0.17.6

---
 srcpkgs/python3-scikit-build/template | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)
 create mode 100644 srcpkgs/python3-scikit-build/template

diff --git a/srcpkgs/python3-scikit-build/template b/srcpkgs/python3-scikit-build/template
new file mode 100644
index 0000000000000..99e33f9b45868
--- /dev/null
+++ b/srcpkgs/python3-scikit-build/template
@@ -0,0 +1,22 @@
+# Template file for 'python3-scikit-build'
+pkgname=python3-scikit-build
+version=0.17.6
+revision=1
+build_style=python3-pep517
+# test requires setuptools_scm to not be installed
+make_check_args="-k not(nosetuptoolsscm)"
+hostmakedepends="hatch-fancy-pypi-readme hatch-vcs python3-wheel"
+depends="python3-distro python3-packaging python3-setuptools python3-wheel"
+checkdepends="${depends} cmake gcc-fortran git ninja python3-Cython
+ python3-devel python3-pip python3-pytest-mock python3-requests
+ python3-virtualenv"
+short_desc="Build system generator for Python C/C++/Cython/Fortran extensions"
+maintainer="chrysos349 <chrysostom349@gmail.com>"
+license="MIT"
+homepage="https://scikit-build.org"
+distfiles="${PYPI_SITE}/s/scikit_build/scikit_build-${version}.tar.gz"
+checksum=b51a51a36b37c42650994b5047912f59b22e3210b23e321f287611f9ef6e5c9d
+
+post_install() {
+	vlicense LICENSE
+}

From 8c89c59a3d30169ed7ecaba41bfecfb2a54032c7 Mon Sep 17 00:00:00 2001
From: chrysos349 <chrysostom349@gmail.com>
Date: Thu, 12 Oct 2023 00:52:26 +0300
Subject: [PATCH 3/5] New package: rapidfuzz-cpp-2.1.1

---
 srcpkgs/rapidfuzz-cpp/template | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
 create mode 100644 srcpkgs/rapidfuzz-cpp/template

diff --git a/srcpkgs/rapidfuzz-cpp/template b/srcpkgs/rapidfuzz-cpp/template
new file mode 100644
index 0000000000000..72e957c9d131e
--- /dev/null
+++ b/srcpkgs/rapidfuzz-cpp/template
@@ -0,0 +1,15 @@
+# Template file for 'rapidfuzz-cpp'
+pkgname=rapidfuzz-cpp
+version=2.1.1
+revision=1
+build_style=cmake
+short_desc="Rapid fuzzy string matching in C++ using the Levenshtein Distance"
+maintainer="chrysos349 <chrysostom349@gmail.com>"
+license="MIT"
+homepage="https://github.com/maxbachmann/rapidfuzz-cpp"
+distfiles="https://github.com/maxbachmann/rapidfuzz-cpp/archive/v${version}.tar.gz"
+checksum=1680c0dbf77d228ea81825c24755db99ee0e21a8db3663b5136741b3e108c3f2
+
+post_install() {
+	vlicense LICENSE
+}

From cb1b87e32f88ce948f9a7346972ce3266e0da74a Mon Sep 17 00:00:00 2001
From: chrysos349 <chrysostom349@gmail.com>
Date: Thu, 12 Oct 2023 00:53:04 +0300
Subject: [PATCH 4/5] New package: python3-rapidfuzz-3.2.0

---
 .../python3-rapidfuzz/files/README.voidlinux  |  2 ++
 srcpkgs/python3-rapidfuzz/template            | 29 +++++++++++++++++++
 2 files changed, 31 insertions(+)
 create mode 100644 srcpkgs/python3-rapidfuzz/files/README.voidlinux
 create mode 100644 srcpkgs/python3-rapidfuzz/template

diff --git a/srcpkgs/python3-rapidfuzz/files/README.voidlinux b/srcpkgs/python3-rapidfuzz/files/README.voidlinux
new file mode 100644
index 0000000000000..fd4aa98151f61
--- /dev/null
+++ b/srcpkgs/python3-rapidfuzz/files/README.voidlinux
@@ -0,0 +1,2 @@
+Optional dependencies:
+	python3-numpy
diff --git a/srcpkgs/python3-rapidfuzz/template b/srcpkgs/python3-rapidfuzz/template
new file mode 100644
index 0000000000000..894b6255f4e4e
--- /dev/null
+++ b/srcpkgs/python3-rapidfuzz/template
@@ -0,0 +1,29 @@
+# Template file for 'python3-rapidfuzz'
+pkgname=python3-rapidfuzz
+version=3.2.0
+revision=1
+build_style=python3-pep517
+hostmakedepends="cmake python3-scikit-build"
+makedepends="python3-devel rapidfuzz-cpp"
+depends="python3"
+checkdepends="python3-hypothesis python3-pandas python3-pytest"
+short_desc="Rapid fuzzy string matching in Python using various string metrics"
+maintainer="chrysos349 <chrysostom349@gmail.com>"
+license="MIT"
+homepage="https://github.com/maxbachmann/rapidfuzz"
+distfiles="${PYPI_SITE}/r/rapidfuzz/rapidfuzz-${version}.tar.gz"
+checksum=448d031d9960fea7826d42bd4284156fc68d3b55a6946eb34ca5c6acf960577b
+
+pre_build() {
+	# ugly hack to help cmake find python3 headers
+	if [ "$CROSS_BUILD" ]; then
+		rm -rf ${XBPS_BUILDDIR}/../${py3_inc}
+		ln -sf ${XBPS_BUILDDIR}/../${XBPS_CROSS_BASE}/${py3_inc} \
+			${XBPS_BUILDDIR}/../${py3_inc}
+	fi
+}
+
+post_install() {
+	vdoc ${FILESDIR}/README.voidlinux
+	vlicense LICENSE
+}

From 10e8fab01dcee3797951c313cebcdb8e3c77ee64 Mon Sep 17 00:00:00 2001
From: chrysos349 <chrysostom349@gmail.com>
Date: Thu, 12 Oct 2023 00:54:03 +0300
Subject: [PATCH 5/5] python3-Levenshtein: update to 0.23.0

---
 srcpkgs/python3-Levenshtein/template | 30 ++++++++++++++++++----------
 1 file changed, 20 insertions(+), 10 deletions(-)

diff --git a/srcpkgs/python3-Levenshtein/template b/srcpkgs/python3-Levenshtein/template
index 044c5d1492408..7876811b0ff0c 100644
--- a/srcpkgs/python3-Levenshtein/template
+++ b/srcpkgs/python3-Levenshtein/template
@@ -1,14 +1,24 @@
 # Template file for 'python3-Levenshtein'
 pkgname=python3-Levenshtein
-version=0.12.0
-revision=9
-build_style=python3-module
-hostmakedepends="python3-devel python3-setuptools"
-makedepends="python3-devel"
-depends="python3"
-short_desc="Functions for computation of distance and string similarity (Python3)"
+version=0.23.0
+revision=1
+build_style=python3-pep517
+hostmakedepends="cmake python3-scikit-build"
+makedepends="python3-devel rapidfuzz-cpp"
+depends="python3-rapidfuzz"
+checkdepends="${depends} python3-pytest"
+short_desc="Functions for computation of distance and string similarity"
 maintainer="Orphaned <orphan@voidlinux.org>"
 license="GPL-2.0-or-later"
-homepage="https://pypi.org/project/python-Levenshtein/"
-distfiles="${PYPI_SITE}/p/python-Levenshtein/python-Levenshtein-${version}.tar.gz"
-checksum=033a11de5e3d19ea25c9302d11224e1a1898fe5abd23c61c7c360c25195e3eb1
+homepage="https://github.com/maxbachmann/Levenshtein"
+distfiles="${PYPI_SITE}/L/Levenshtein/Levenshtein-${version}.tar.gz"
+checksum=de7ccc31a471ea5bfafabe804c12a63e18b4511afc1014f23c3cc7be8c70d3bd
+
+pre_build() {
+	# ugly hack to help cmake find python3 headers
+	if [ "$CROSS_BUILD" ]; then
+		rm -rf ${XBPS_BUILDDIR}/../${py3_inc}
+		ln -sf ${XBPS_BUILDDIR}/../${XBPS_CROSS_BASE}/${py3_inc} \
+			${XBPS_BUILDDIR}/../${py3_inc}
+	fi
+}

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2023-11-22 11:34 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-11-22  6:36 [PR PATCH] python3-Levenshtein: update to 0.23.0 Luciogi
2023-11-22  8:50 ` [PR PATCH] [Updated] " Luciogi
2023-11-22  9:14 ` Luciogi
2023-11-22  9:17 ` Luciogi
2023-11-22 11:22 ` Luciogi
2023-11-22 11:34 ` [PR PATCH] [Closed]: " ahesford
2023-11-22 11:34 ` ahesford
  -- strict thread matches above, loose matches on Subject: below --
2023-10-11 21:59 [PR PATCH] " chrysos349
2023-10-11 22:35 ` [PR PATCH] [Updated] " chrysos349
2023-10-11 23:59 ` chrysos349
2023-10-13  3:19 ` chrysos349
2023-10-14  0:20 ` chrysos349

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).