summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorUniversebenzene2020-04-25 20:24:26 +0800
committerUniversebenzene2020-04-25 20:24:26 +0800
commit84e8fcb51d6b9cba066e8c6b8a7de75a02410e93 (patch)
treeafe31cefd5d04fc1ab59ace12358f101ff5f7f4e /PKGBUILD
parentc756c6e973484f165c44bfcb8bf4cc6beff87b8e (diff)
downloadaur-84e8fcb51d6b9cba066e8c6b8a7de75a02410e93.tar.gz
Update to version 1.0.1
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD17
1 files changed, 9 insertions, 8 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 945ee43c25b..fd359496798 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,16 +2,16 @@
pkgbase=python-parfive
_pyname=${pkgbase#python-}
pkgname=("python-${_pyname}" "python-${_pyname}-doc")
-pkgver=1.0.0
+pkgver=1.0.1
pkgrel=1
pkgdesc="A HTTP and FTP parallel file downloader"
arch=('i686' 'x86_64')
-url="https://parfive.readthedocs.io/"
+url="https://parfive.readthedocs.io"
license=('MIT')
-makedepends=('python-setuptools' 'python-sphinx-astropy' 'python-aiohttp' 'python-tqdm' 'graphviz' 'python-sunpy-sphinx-theme')
-checkdepends=('python-pytest-localserver')
+makedepends=('python-setuptools-scm' 'python-sphinx-astropy' 'python-aiohttp' 'python-tqdm' 'graphviz' 'python-sunpy-sphinx-theme')
+checkdepends=('python-pytest-localserver' 'python-pytest-asyncio' 'python-pytest-socket' 'python-aioftp')
source=("https://files.pythonhosted.org/packages/source/${_pyname:0:1}/${_pyname}/${_pyname}-${pkgver}.tar.gz")
-md5sums=('093d52b99263398e902c70a1f128f3ca')
+md5sums=('c67356ea273ce7064196c3aee229a2f7')
build() {
cd ${srcdir}/${_pyname}-${pkgver}
@@ -24,12 +24,13 @@ build() {
check() {
cd ${srcdir}/${_pyname}-${pkgver}
- python setup.py test
+ pytest
}
package_python-parfive() {
- depends=('python>=3.5' 'python-tqdm' 'python-aiohttp')
- optdepends=('python-parfive-doc: Documentation for Parfive')
+ depends=('python>=3.6' 'python-tqdm' 'python-aiohttp')
+ optdepends=('python-aioftp'
+ 'python-parfive-doc: Documentation for Parfive')
cd ${srcdir}/${_pyname}-${pkgver}
install -D -m644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"