blob: 5b1f36268436618f1d02966a885da5c6b00af97b (
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.0
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=('dd8ece9aa324b1c4fd3404b1f5ecd79d2d0b30d22d730ee7269e7781e93e851e')
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
}
|