blob: ef9bcd94953ad7efa33664dbeb2f12b67b2868e5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
# Maintainer: portaloffreedom
# This is a fork of the PyAIML Python AIML interpreter.
# It has been refactored to make it install and work in both Python 2.7 and Python 3.
pkgname=python-aiml
pkgver=0.9.3
pkgrel=1
pkgdesc="An interpreter module for AIML (Artificial Intelligence Markup Language), implemented in pure Python (python3 fork)"
url="https://github.com/paulovn/python-aiml"
license=("BSD-2-Clause" 'LGPL')
arch=("any")
depends=('python')
makedepends=('python2')
source=("https://github.com/paulovn/${pkgname}/archive/$pkgver.tar.gz")
sha256sums=('00f418cea5384319c177184cf2c7cf9364fe817dd35b409cf1f542d9d46c6d2b')
build() {
cd $srcdir/${pkgname}-$pkgver
python3 setup.py build
}
check() {
cd $srcdir/${pkgname}-$pkgver
python2 setup.py test
}
package() {
cd $srcdir/${pkgname}-$pkgver
python3 setup.py install --root $pkgdir
}
|