blob: 431c46e7762f8d0c22e3388b86d5f75caa981762 (
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
|
# Maintainer: Nissar Chababy <contact at funilrys dot com>
_appName="pyfunceble"
pkgname=python-${_appName}-dev
_name=${pkgname#python-}
upstreamName="PyFunceble-dev"
pkgver=0.115.0
pkgrel=1
pkgdesc="The tool to check the availability of domains, IPv4 or URL."
arch=('any')
url="https://funilrys.github.io/PyFunceble/"
license=('MIT')
provides=("${_appName}")
conflicts=('python-pyfunceble')
depends=(
'python3'
'python-distribute'
'python-setuptools'
'python-colorama'
'python-pyaml'
'python-urllib3'
'python-requests'
'python-domain2idna'
)
source=(
"https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${upstreamName}-${pkgver}.tar.gz"
"https://raw.githubusercontent.com/funilrys/PyFunceble/dev/LICENSE"
)
sha256sums=(
"dcd1a86fc4f6dc528bbd84cd6a4d5e2f30ef3c32932d7d70c78a998988e38276"
"a6446256d9e2281e96a2279c0cf0d424700a311d9f2ad6e71e1a5bbb9abd5f29"
)
build() {
echo "https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${upstreamName}-${pkgver}.tar.gz"
cd ${srcdir}/${upstreamName}-${pkgver}
python setup.py build
}
package() {
install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
cd ${srcdir}/${upstreamName}-${pkgver}
python setup.py install --root="${pkgdir}/" --optimize=1 --skip-build
}
|