Skip to content

Commit c14d722

Browse files
committed
multiple: fix styles.
1 parent 14c42cd commit c14d722

File tree

2 files changed

+23
-8
lines changed

2 files changed

+23
-8
lines changed

packages/python-defusedcsv/PKGBUILD

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# This file is part of BlackArch Linux ( https://www.blackarch.org/ ).
2+
# See COPYING for license details.
3+
#
14
# Originally from: https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=python-defusedcsv
25

36
pkgname=python-defusedcsv
@@ -9,18 +12,23 @@ arch=('any')
912
url='https://github.com/raphaelm/defusedcsv'
1013
license=('Apache-2.0')
1114
depends=('python')
12-
makedepends=('python-build' 'python-installer' 'python-wheel' 'python-setuptools')
13-
source=("$url/archive/refs/tags/v$pkgver.tar.gz")
15+
makedepends=('python-build' 'python-installer' 'python-wheel'
16+
'python-setuptools')
17+
source=("https://github.com/raphaelm/defusedcsv/archive/refs/tags/v$pkgver.tar.gz")
1418
sha512sums=('7ea60e23025b2392a34fbc0aa5ef6dd1b6ce0c653000e4121fceed4159b99b233c34f0f8f1e06931e721a8c923e90faa63b39d0032ab1881ff94eaea66345d4a')
1519

1620
# https://wiki.archlinux.org/title/Python_package_guidelines#Standards_based_(PEP_517)
1721
build() {
1822
cd "$_pkgname-$pkgver"
23+
1924
python -m build --wheel --no-isolation
2025
}
2126

2227
package() {
2328
cd "$_pkgname-$pkgver"
24-
install -Dm644 "$srcdir/$_pkgname-$pkgver/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
29+
2530
python -m installer --destdir="$pkgdir" dist/*.whl
31+
32+
install -Dm 644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
2633
}
34+

packages/python-httpx-ntlm/PKGBUILD

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# This file is part of BlackArch Linux ( https://www.blackarch.org/ ).
2+
# See COPYING for license details.
3+
#
14
# Originally from: https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=python-httpx-ntlm
25

36
pkgname=python-httpx-ntlm
@@ -9,18 +12,22 @@ arch=('any')
912
url='https://github.com/ulodciv/httpx-ntlm'
1013
license=('ISC')
1114
depends=('python')
12-
makedepends=('python-build' 'python-installer' 'python-wheel' 'python-setuptools')
13-
source=("$url/archive/refs/tags/$pkgver.tar.gz")
15+
makedepends=('python-build' 'python-installer' 'python-wheel'
16+
'python-setuptools')
17+
source=("https://github.com/ulodciv/httpx-ntlm/archive/refs/tags/$pkgver.tar.gz")
1418
sha512sums=('32d6705588de4142e7f357214733da6d4a3a5ba1dff83aec93bd584a12745308d11d15268e36361d6a9d3f1d8114acffa5f7cf44c27d91dcf03911ae03871b59')
1519

16-
# https://wiki.archlinux.org/title/Python_package_guidelines#Standards_based_(PEP_517)
1720
build() {
1821
cd "$_pkgname-$pkgver"
22+
1923
python -m build --wheel --no-isolation
2024
}
2125

2226
package() {
2327
cd "$_pkgname-$pkgver"
24-
install -Dm644 "$srcdir/$_pkgname-$pkgver/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
28+
2529
python -m installer --destdir="$pkgdir" dist/*.whl
26-
}
30+
31+
install -Dm 644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
32+
}
33+

0 commit comments

Comments
 (0)