blob: 3d7ff583e4d07f9250e4a8c5e20354074b4a4ebe (
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
|
# Maintainer: Michał Wojdyła < micwoj9292 at gmail dot com >
# Contributor: Pellegrino Prevete <pellegrinoprevete@gmail.com>
# Contributor: brent s. <bts[at]square-r00t[dot]net>
#TODO: clean up this shit
_pkg=whois
_name="py${_pkg}"
_pkgname="python_${_pkg}"
pkgname=(
"python-${_pkg}")
pkgbase="${pkgname}"
pkgver=0.9.5
pkgrel=1
pkgdesc="Whois querying and parsing of domain registration information"
arch=(
any
)
url="https://bitbucket.org/richardpenman/${_name}"
license=('MIT')
depends=(
"python"
"python-dateutil"
"python-pysocks"
)
makedepends=(
"python-setuptools"
)
install=
changelog=
noextract=()
validpgpkeys=('748231EBCBD808A14F5E85D28C004C2F93481F6B')
_pypi_repo="https://files.pythonhosted.org/packages/source"
source=(
"${_pypi_repo}/p/${_pkgname}/${_pkgname}-${pkgver}.tar.gz"
"LICENSE"
)
sha512sums=('aff3f2990f2f06559ae85037e6c44ab0ad22fbdb34cee78ce836804f94ecd10dc562bdba9cf531ee47db4b6909d510550ea928de04d9d6166af88f7dc6f27f1f'
'8cf4065e880c751354fffe41f513b95c6bad6bd28033d7a660bd52636cae0c313f9b60f4c53234320699fc0b44d9e4b42bb06f543733b41e0de07a68068099d1')
package_python-whois() {
cd "${srcdir}/${_pkgname}-${pkgver}"
python setup.py install --root="${pkgdir}" \
--optimize=1
install -Dm 0644 ${srcdir}/LICENSE \
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
|