-
Notifications
You must be signed in to change notification settings - Fork 48
/
PKGBUILD
45 lines (41 loc) · 1.03 KB
/
PKGBUILD
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
# This is an example PKGBUILD file. Use this as a start to creating your own,
# and remove these comments. For more information, see 'man PKGBUILD'.
# NOTE: Please fill out the license field for your package! If it is unknown,
# then please put 'unknown'.
# See http://wiki.archlinux.org/index.php/Python_Package_Guidelines for more
# information on Python packaging.
# Maintainer: Marven11 <[email protected]>
pkgname=python-fenjing
pkgver=$(cat VERSION)
pkgrel=1
pkgdesc=""
arch=('any')
url=""
license=('MPL-2.0')
groups=()
depends=(
'python'
'python-requests'
'python-beautifulsoup4'
'python-click'
'python-flask'
'python-jinja'
'python-prompt_toolkit'
'python-pygments'
'python-pysocks'
)
makedepends=('python-build')
provides=('fenjing')
conflicts=()
replaces=()
backup=()
options=(!emptydirs)
install=
source=()
md5sums=()
package() {
cd "$srcdir/.."
python -m build
PIP_CONFIG_FILE=/dev/null pip install --isolated --root="$pkgdir" --ignore-installed --no-deps dist/*.whl
}
# vim:set ts=2 sw=2 et: