summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO15
-rw-r--r--.gitignore4
-rw-r--r--PKGBUILD25
3 files changed, 19 insertions, 25 deletions
diff --git a/.SRCINFO b/.SRCINFO
index aaabd7a22e5..53b9e21d710 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,18 +1,17 @@
pkgbase = python-asciimatics
- pkgdesc = A cross platform package to do curses-like operations, plus higher level APIs and widgets to create text UIs and ASCII art animations.
- pkgver = 1.11.0
- pkgrel = 3
- url = https://pypi.org/project/asciimatics
+ pkgdesc = A cross platform package to do curses-like operations, plus higher level APIs and widgets to create text UIs and ASCII art animations
+ pkgver = 1.12.0
+ pkgrel = 1
+ url = https://github.com/peterbrittain/asciimatics
arch = any
- license = Apache2
+ license = Apache
makedepends = python-setuptools-scm
- depends = python
depends = python-wcwidth
depends = python-pyfiglet
depends = python-future
depends = python-pillow
- source = https://files.pythonhosted.org/packages/source/a/asciimatics/asciimatics-1.11.0.tar.gz
- md5sums = 9abc134166e6a83671b379dc03830a3f
+ source = https://files.pythonhosted.org/packages/source/a/asciimatics/asciimatics-1.12.0.tar.gz
+ sha256sums = 4120461a3fb345638dee4fe0f8a3d3f9b6d2d2e003f95c5f914523f94463158d
pkgname = python-asciimatics
diff --git a/.gitignore b/.gitignore
deleted file mode 100644
index bec709725a1..00000000000
--- a/.gitignore
+++ /dev/null
@@ -1,4 +0,0 @@
-/src/
-/pkg/
-/asciimatics-*.tar.gz
-*.pkg.tar.* \ No newline at end of file
diff --git a/PKGBUILD b/PKGBUILD
index f0cc3b03e7a..1e9129976ee 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,25 +3,24 @@
pkgname=python-asciimatics
_name=${pkgname//python-}
-pkgver=1.11.0
-pkgrel=3
-pkgdesc='A cross platform package to do curses-like operations, plus higher level APIs and widgets to create text UIs and ASCII art animations.'
+pkgver=1.12.0
+pkgrel=1
+pkgdesc="A cross platform package to do curses-like operations, plus higher level APIs and widgets to
+create text UIs and ASCII art animations"
arch=('any')
-url='https://pypi.org/project/asciimatics'
-license=('Apache2')
-depends=('python' 'python-wcwidth' 'python-pyfiglet' 'python-future' 'python-pillow')
+url="https://github.com/peterbrittain/asciimatics"
+license=('Apache')
+depends=('python-wcwidth' 'python-pyfiglet' 'python-future' 'python-pillow')
makedepends=('python-setuptools-scm')
source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz")
-md5sums=('9abc134166e6a83671b379dc03830a3f')
+sha256sums=('4120461a3fb345638dee4fe0f8a3d3f9b6d2d2e003f95c5f914523f94463158d')
build() {
- cd "$srcdir/${_name}-$pkgver"
- python setup.py clean --all
- python setup.py build
+ cd $_name-$pkgver
+ python setup.py build
}
package() {
- cd "$srcdir/${_name}-$pkgver"
- python setup.py install --root "$pkgdir" --skip-build --optimize=1
- install -Dm644 "$srcdir/${_name}-${pkgver}/LICENSE" "$pkgdir/usr/share/licenses/${pkgname}/LICENSE"
+ cd $_name-$pkgver
+ python setup.py install --root "$pkgdir" --skip-build --optimize=1
}