summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 8ab38028f3073d34a3797731b36464f524b371b7 (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
52
53
54
55
56
57
58
59
60
# Maintainer: taotieren <admin@taotieren.com>

pkgname=python-115
_name=${pkgname//-/_}
pkgver=0.0.9.8.8.6
pkgrel=2
epoch=
pkgdesc="Python wrapper for 115 webdisk."
arch=('any')
url="https://pypi.org/project/python-115"
license=(MIT)
groups=()
provides=(${_name} ${pkgname})
conflicts=(${_name} ${pkgname})
depends=(
    python
    python-httpx
    python-orjson
    python-requests
    python-rich
    python-yarl
    python-urllib3
    #AUR
    python-asynctools
    python-concurrenttools
    python-dictattr
    python-download
    python-filewrap
    python-glob-pattern
    python-hashtools
    python-httpfile
    python-httpx-request
    python-magnet2torrent
    python-iterutils
    python-texttools
    python-urlopen
    python-undefined
)
makedepends=(
    python-poetry
    python-build
    python-installer
    python-wheel
    python-setuptools
)
options=('!strip')
source=("${_name}-${pkgver}.tar.gz::https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz")
noextract=()
sha256sums=('3b6e5d0f130a628a4222f50d9c3569baccc44f89408c2d696c2200dab050330c')

build() {
    cd "${srcdir}/${_name}-${pkgver}"
    rm -rf LICENSE
    python -m build --wheel --no-isolation
}

package() {
    cd "${srcdir}/${_name}-${pkgver}"
    python -m installer --destdir="${pkgdir}" dist/*.whl
}