summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorEugene Dvoretsky2022-02-23 19:02:43 +0300
committerEugene Dvoretsky2022-02-23 19:02:43 +0300
commit5aff35e7d729abb0de4265eb1a7e10f0d39bc1c1 (patch)
tree2fa2b64af0b5e19dbff43c0fd30e1a284acab42d
parenta5697c239c680884606900a508b260a26e91ab56 (diff)
downloadaur-lsdreader.tar.gz
Switching to python3, version bump
-rw-r--r--.SRCINFO13
-rw-r--r--PKGBUILD19
2 files changed, 15 insertions, 17 deletions
diff --git a/.SRCINFO b/.SRCINFO
index d5ab10d45e8..8382d9fb43d 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,16 +1,13 @@
-# Generated by mksrcinfo v8
-# Thu Mar 31 14:46:32 UTC 2016
pkgbase = lsdreader
pkgdesc = Decompile ABBYY Lingvo LSD dictionaries to DSL
- pkgver = 0.2.8
+ pkgver = 0.2.15
pkgrel = 1
url = https://github.com/sv99/lsdreader
arch = any
license = unknown
- makedepends = python2-setuptools
- depends = python2
- source = lsdreader-0.2.8.tar.gz::https://github.com/sv99/lsdreader/archive/v0.2.8.tar.gz
- sha256sums = 5f70208533417eeaed012ad0def78543ef8afbb3f6b8babde50155c34e8154f0
+ makedepends = python-setuptools
+ depends = python
+ source = lsdreader-0.2.15.tar.gz::https://github.com/sv99/lsdreader/archive/v0.2.15.tar.gz
+ sha256sums = 2d13784d82c082e2784a1aef17600b566d548e42390eb472d616fd17768649b1
pkgname = lsdreader
-
diff --git a/PKGBUILD b/PKGBUILD
index 4c600f340c8..3dbecf15a5c 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,23 +1,24 @@
# Maintainer: Eugene Dvoretsky <radioxoma@gmail.com>
pkgname=lsdreader
-pkgver=0.2.8
+pkgver=0.2.15
pkgrel=1
pkgdesc="Decompile ABBYY Lingvo LSD dictionaries to DSL"
arch=('any')
url="https://github.com/sv99/lsdreader"
license=('unknown')
-depends=('python2')
-makedepends=('python2-setuptools')
+depends=('python')
+makedepends=('python-setuptools')
source=("$pkgname-$pkgver.tar.gz::https://github.com/sv99/lsdreader/archive/v${pkgver}.tar.gz")
-sha256sums=('5f70208533417eeaed012ad0def78543ef8afbb3f6b8babde50155c34e8154f0')
+sha256sums=('2d13784d82c082e2784a1aef17600b566d548e42390eb472d616fd17768649b1')
-check() {
- cd "$srcdir/${pkgname}-${pkgver}"
- python2 setup.py test
+build() {
+ cd "$srcdir/${pkgname}-${pkgver}"
+ sed -i 's/\\n/ /g' setup.py # ValueError: Newlines are not allowed
+ python setup.py build
}
package() {
- cd "$srcdir/${pkgname}-${pkgver}"
- python2 setup.py install --root="$pkgdir/" --optimize=1
+ cd "$srcdir/${pkgname}-${pkgver}"
+ python setup.py install --root="$pkgdir" --optimize=1
}