blob: 1a9c8ed90e443ea09e4f9386a2cc64f9f970e08d (
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
|
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=py-whoispy
_pkgname=whoispy
pkgver=0.2.5
pkgrel=0
pkgdesc="A Python module/library to get the WHOIS information"
url="https://github.com/nemumu/whoispy"
arch="noarch"
license="GPL-3.0-or-later"
depends="python2"
depends_dev=""
makedepends="python2-dev py-setuptools"
install=""
subpackages=""
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
_builddir="$srcdir"/$_pkgname-$pkgver
prepare() {
local i
cd "$_builddir"
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
}
build() {
cd "$_builddir"
python2 setup.py build || return 1
}
package() {
cd "$_builddir"
python2 setup.py install --prefix=/usr --root="$pkgdir" || return 1
}
md5sums="c0dce5941d6cb384d4b5a5a1b9910e9f whoispy-0.2.5.tar.gz"
sha256sums="a210b7e85f79b7ecad7928a448e54267373c2877086c222e4d56400b71076b45 whoispy-0.2.5.tar.gz"
sha512sums="084ed9c2df4cf5a9e724bd21c2085563cf844192159a361f75a70324859a0036034fb4fcb3f5b49e5ef63d31969f32b908fee615ed6781b70531d1e8e38dcb0e whoispy-0.2.5.tar.gz"
|