Date: Sunday, May 7, 2023 @ 13:20:17
Author: alucryd
Revision: 1459344
archrelease: copy trunk to community-x86_64
Added:
python-jellyfish/repos/community-x86_64/PKGBUILD
(from rev 1459343, python-jellyfish/trunk/PKGBUILD)
Deleted:
python-jellyfish/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 89 +++++++++++++++++++++++++------------------------------------
1 file changed, 37 insertions(+), 52 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2023-05-07 13:20:08 UTC (rev 1459343)
+++ PKGBUILD 2023-05-07 13:20:17 UTC (rev 1459344)
@@ -1,52 +0,0 @@
-# Maintainer: Maxime Gauduin <[email protected]>
-# Contributor: Jelle van der Waa <[email protected]>
-
-pkgname=python-jellyfish
-pkgver=0.9.1
-pkgrel=3
-pkgdesc='A python library for doing approximate and phonetic matching of
strings'
-arch=(x86_64)
-url='https://github.com/jamesturk/jellyfish'
-license=(BSD)
-depends=(python)
-makedepends=(
- git
- python-setuptools
-)
-_tag=f31b9bd8c06dd764023a8cf0a82319c0ce20a0bb
-source=(
- git+https://github.com/jamesturk/jellyfish.git#tag=${_tag}
- git+https://github.com/jamesturk/cjellyfish.git
-)
-sha256sums=(
- SKIP
- SKIP
-)
-
-prepare() {
- cd jellyfish
- for submodule in cjellyfish; do
- git submodule init ${submodule}
- git config submodule.${submodule}.url ../${submodule}
- git -c protocol.file.allow=always submodule update ${submodule}
- done
- sed 's/0.9.0/0.9.1/' -i setup.py
-}
-
-pkgver() {
- cd jellyfish
- git describe --tags | sed 's/^v//'
-}
-
-build() {
- cd jellyfish
- python setup.py build
-}
-
-package() {
- cd jellyfish
- python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
- install -Dm 644 LICENSE -t "${pkgdir}"/usr/share/licenses/python-jellyfish/
-}
-
-# vim: ts=2 sw=2 et:
Copied: python-jellyfish/repos/community-x86_64/PKGBUILD (from rev 1459343,
python-jellyfish/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2023-05-07 13:20:17 UTC (rev 1459344)
@@ -0,0 +1,37 @@
+# Maintainer: Maxime Gauduin <[email protected]>
+# Contributor: Jelle van der Waa <[email protected]>
+
+pkgname=python-jellyfish
+pkgver=0.11.2
+pkgrel=1
+pkgdesc='A python library for doing approximate and phonetic matching of
strings'
+arch=(x86_64)
+url='https://github.com/jamesturk/jellyfish'
+license=(BSD)
+depends=(python)
+makedepends=(
+ git
+ python-maturin
+ python-build
+ python-installer
+)
+_tag=eda72de333944e2eb65c5dbfb58424e492840924
+source=(git+https://github.com/jamesturk/jellyfish.git#tag=${_tag})
+b2sums=(SKIP)
+
+pkgver() {
+ cd jellyfish
+ git describe --tags | sed 's/^v//'
+}
+
+build() {
+ cd jellyfish
+ python -m build --wheel --no-isolation
+}
+
+package() {
+ python -m installer --destdir="${pkgdir}" jellyfish/dist/*.whl
+ install -Dm 644 jellyfish/LICENSE -t
"${pkgdir}"/usr/share/licenses/python-jellyfish/
+}
+
+# vim: ts=2 sw=2 et: