File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -7,8 +7,8 @@ arch=('any')
77url=" https://github.com/deadc0de6/dotdrop"
88license=(' GPL' )
99groups=()
10- depends=(' python' ' python-setuptools ' ' python- jinja' ' python-docopt-ng' ' python-ruamel-yaml' ' python-magic' ' python-requests' ' python-packaging' ' python-tomli-w' ' python-distro' )
11- makedepends=(' git' )
10+ depends=(' python' ' python-jinja' ' python-docopt-ng' ' python-ruamel-yaml' ' python-magic' ' python-requests' ' python-packaging' ' python-tomli-w' ' python-distro' )
11+ makedepends=(' git' ' python-build ' ' python-installer ' ' python-setuptools ' )
1212provides=(dotdrop)
1313conflicts=(dotdrop)
1414source=(" git+https://github.com/deadc0de6/dotdrop.git" )
@@ -19,9 +19,15 @@ pkgver() {
1919 git describe --long --tags | sed ' s/\([^-]*-g\)/r\1/;s/-/./g;s/^v//g'
2020}
2121
22+ build () {
23+ cd " ${_pkgname} "
24+ python -m build --wheel --no-isolation
25+ }
26+
2227package () {
2328 cd " ${_pkgname} "
24- python setup.py install --root=" ${pkgdir} /" --optimize=1
29+ python -m installer --destdir=" ${pkgdir} " dist/* .whl
30+
2531 install -Dm644 ${srcdir} /${_pkgname} /completion/dotdrop-completion.bash " ${pkgdir} /usr/share/bash-completion/completions/${_pkgname} "
2632 install -Dm644 ${srcdir} /${_pkgname} /completion/_dotdrop-completion.zsh " ${pkgdir} /usr/share/zsh/site-functions/_${_pkgname} "
2733 install -Dm644 ${srcdir} /${_pkgname} /completion/dotdrop.fish " ${pkgdir} /usr/share/fish/completions/${_pkgname} .fish"
Original file line number Diff line number Diff line change @@ -6,8 +6,8 @@ arch=('any')
66url=" https://github.com/deadc0de6/dotdrop"
77license=(' GPL' )
88groups=()
9- depends=(' python' ' python-setuptools ' ' python- jinja' ' python-docopt-ng' ' python-ruamel-yaml' ' python-magic' ' python-requests' ' python-packaging' ' python-tomli-w' ' python-distro' )
10- makedepends=(' git' )
9+ depends=(' python' ' python-jinja' ' python-docopt-ng' ' python-ruamel-yaml' ' python-magic' ' python-requests' ' python-packaging' ' python-tomli-w' ' python-distro' )
10+ makedepends=(' git' ' python-build ' ' python-installer ' ' python-setuptools ' )
1111source=(" git+https://github.com/deadc0de6/dotdrop.git#tag=v${pkgver} " )
1212md5sums=(' SKIP' )
1313
@@ -16,9 +16,15 @@ pkgver() {
1616 git describe --abbrev=0 --tags | sed ' s/^v//g'
1717}
1818
19+ build () {
20+ cd " ${pkgname} "
21+ python -m build --wheel --no-isolation
22+ }
23+
1924package () {
2025 cd " ${pkgname} "
21- python setup.py install --root=" ${pkgdir} /" --optimize=1
26+ python -m installer --destdir=" ${pkgdir} " dist/* .whl
27+
2228 install -Dm644 ${srcdir} /${pkgname} /completion/dotdrop-completion.bash " ${pkgdir} /usr/share/bash-completion/completions/${pkgname} "
2329 install -Dm644 ${srcdir} /${pkgname} /completion/_dotdrop-completion.zsh " ${pkgdir} /usr/share/zsh/site-functions/_${pkgname} "
2430 install -Dm644 ${srcdir} /${pkgname} /completion/dotdrop.fish " ${pkgdir} /usr/share/fish/completions/${pkgname} .fish"
You can’t perform that action at this time.
0 commit comments