summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO13
-rw-r--r--.nvchecker.toml5
-rw-r--r--PKGBUILD17
3 files changed, 22 insertions, 13 deletions
diff --git a/.SRCINFO b/.SRCINFO
index db13112c78f9..7e29ca62066c 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,15 +1,18 @@
pkgbase = python-turkish-morphology
pkgdesc = A two-level morphological analyzer for Turkish
- pkgver = 1.2.4
- pkgrel = 2
+ pkgver = 1.2.5
+ pkgrel = 4
url = https://github.com/google-research/turkish-morphology
arch = any
- license = Apache
+ license = Apache-2.0
+ makedepends = python-build
+ makedepends = python-installer
+ makedepends = python-wheel
makedepends = python-setuptools
depends = absl-py
depends = python
depends = python-protobuf
- source = turkish-morphology-1.2.4.tar.gz::https://github.com/google-research/turkish-morphology/archive/v1.2.4.tar.gz
- sha256sums = 0570fcce32ea8bacf8e12cb83232c1458920f71fed71d5ba270b511144ef5f5d
+ source = https://github.com/google-research/turkish-morphology/archive/v1.2.5/turkish-morphology-1.2.5.tar.gz
+ sha256sums = 665fb87b7088650a561003aac793905565b816fd81cfed7fd01418ba0f05fad2
pkgname = python-turkish-morphology
diff --git a/.nvchecker.toml b/.nvchecker.toml
new file mode 100644
index 000000000000..9dceed3b34d9
--- /dev/null
+++ b/.nvchecker.toml
@@ -0,0 +1,5 @@
+[python-turkish-morphology]
+source = "github"
+github = "google-research/turkish-morphology"
+prefix = "v"
+use_max_tag = true
diff --git a/PKGBUILD b/PKGBUILD
index 8ade15b3769b..e51e12344096 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,26 +1,27 @@
# Maintainer: Caleb Maclennan <caleb@alerque.com>
pkgname=python-turkish-morphology
-pkgver=1.2.4
-pkgrel=2
+pkgver=1.2.5
+pkgrel=4
pkgdesc='A two-level morphological analyzer for Turkish'
arch=(any)
url="https://github.com/google-research/${pkgname#python-}"
-license=(Apache)
+license=(Apache-2.0)
depends=(absl-py
python
python-protobuf)
-makedepends=(python-setuptools)
+makedepends=(python-{build,installer,wheel}
+ python-setuptools)
_archive="${pkgname#python-}-$pkgver"
-source=("$_archive.tar.gz::$url/archive/v$pkgver.tar.gz")
-sha256sums=('0570fcce32ea8bacf8e12cb83232c1458920f71fed71d5ba270b511144ef5f5d')
+source=("$url/archive/v$pkgver/$_archive.tar.gz")
+sha256sums=('665fb87b7088650a561003aac793905565b816fd81cfed7fd01418ba0f05fad2')
build() {
cd "$_archive"
- python setup.py build
+ python -m build -wn
}
package() {
cd "$_archive"
- python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+ python -m installer -d "$pkgdir" dist/*.whl
}