blob: 0110d7ef3bc9efb3c27290eeb3c9148cd33d9fcf (
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
|
# Contributor: Kevin Daudt <kdaudt@alpinelinux.org>
# Maintainer: Kevin Daudt <kdaudt@alpinelinux.org>
pkgname=sopel
pkgver=6.6.9
pkgrel=1
pkgdesc="An easy-to-use and highly extensible IRC Bot framework"
url="https://sopel.chat/"
arch="noarch"
license="EFL-2.0"
depends="python3 ipython py3-requests py3-geoip2 py3-setuptools py3-enchant py3-dnspython
py3-xmltodict py3-praw py3-tz"
checkdepends="py3-pytest"
install="$pkgname.pre-install"
pkgusers="sopel"
pkggroups="sopel"
subpackages="$pkgname-openrc"
source="$pkgname-$pkgver.tar.gz::https://github.com/sopel-irc/sopel/archive/v${pkgver}.tar.gz
use-tpaste-us.patch
sopel.initd
sopel.conf
fix-tests.patch
update-requirements.patch"
builddir="$srcdir/$pkgname-$pkgver"
build() {
cd "$builddir"
python3 setup.py build
}
check() {
cd "$builddir"
python3 pytest_run.py sopel test
}
package() {
cd "$builddir"
python3 setup.py install --root="$pkgdir"
install -Dm0755 "$srcdir"/sopel.initd "$pkgdir"/etc/init.d/sopel
install -Dm0644 "$srcdir"/sopel.conf "$pkgdir"/etc/conf.d/sopel
}
sha512sums="d1c91bc972742136cb786cad1cac09b485c6efd5ba11686002005a6f212ba326e2338c085cf6dffe5c23a04a1b414ab82933ef671bb9153c13875041a1ecd771 sopel-6.6.9.tar.gz
3304fd61e3b1d01ac0fb72bdd30a0db4960ad26daaeb7886710695c6210f26aab04312c5615cb2a751ceb31861bdb7c414b6f49b33851ce06a88a325aae9fc89 use-tpaste-us.patch
1d6b39697d767085530f1db5ba763554c6503ab82b792bdb48c7fef65e4424fe30740ab758ebd3f1ccdd6f2340a9ac9e3dfe44fff064969106717169160ece7b sopel.initd
d90379dc5a2d8c8ff52a15d1c341d4cbad919707fadc578d4ae78db45efafad5e6add270876aa982086ac78d99729b0346aa565512190b9fc8cd77020ba91445 sopel.conf
fceff051dd7df449f1bc7f753116da18be591afb8cff408a7c913bd2c3f53284b8b44896b5d613d3af7a779fa8ba0d835aab4b71b54f6ba19224337a81d29d9a fix-tests.patch
5f39f75181fc4c7a4428947b0ba01e3cd1ae11af8dab2728b1168887c2648282b29ed28f7485bb48daf61d40e22838a03792f9346fd8f9a1b211d4235fa2ad8a update-requirements.patch"
|