File tree Expand file tree Collapse file tree 2 files changed +23
-8
lines changed Expand file tree Collapse file tree 2 files changed +23
-8
lines changed Original file line number Diff line number Diff line change
1
+ # This file is part of BlackArch Linux ( https://www.blackarch.org/ ).
2
+ # See COPYING for license details.
3
+ #
1
4
# Originally from: https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=python-defusedcsv
2
5
3
6
pkgname=python-defusedcsv
@@ -9,18 +12,23 @@ arch=('any')
9
12
url=' https://github.com/raphaelm/defusedcsv'
10
13
license=(' Apache-2.0' )
11
14
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" )
14
18
sha512sums=(' 7ea60e23025b2392a34fbc0aa5ef6dd1b6ce0c653000e4121fceed4159b99b233c34f0f8f1e06931e721a8c923e90faa63b39d0032ab1881ff94eaea66345d4a' )
15
19
16
20
# https://wiki.archlinux.org/title/Python_package_guidelines#Standards_based_(PEP_517)
17
21
build () {
18
22
cd " $_pkgname -$pkgver "
23
+
19
24
python -m build --wheel --no-isolation
20
25
}
21
26
22
27
package () {
23
28
cd " $_pkgname -$pkgver "
24
- install -Dm644 " $srcdir / $_pkgname - $pkgver /LICENSE " " $pkgdir /usr/share/licenses/ $pkgname /LICENSE "
29
+
25
30
python -m installer --destdir=" $pkgdir " dist/* .whl
31
+
32
+ install -Dm 644 LICENSE " $pkgdir /usr/share/licenses/$pkgname /LICENSE"
26
33
}
34
+
Original file line number Diff line number Diff line change
1
+ # This file is part of BlackArch Linux ( https://www.blackarch.org/ ).
2
+ # See COPYING for license details.
3
+ #
1
4
# Originally from: https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=python-httpx-ntlm
2
5
3
6
pkgname=python-httpx-ntlm
@@ -9,18 +12,22 @@ arch=('any')
9
12
url=' https://github.com/ulodciv/httpx-ntlm'
10
13
license=(' ISC' )
11
14
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" )
14
18
sha512sums=(' 32d6705588de4142e7f357214733da6d4a3a5ba1dff83aec93bd584a12745308d11d15268e36361d6a9d3f1d8114acffa5f7cf44c27d91dcf03911ae03871b59' )
15
19
16
- # https://wiki.archlinux.org/title/Python_package_guidelines#Standards_based_(PEP_517)
17
20
build () {
18
21
cd " $_pkgname -$pkgver "
22
+
19
23
python -m build --wheel --no-isolation
20
24
}
21
25
22
26
package () {
23
27
cd " $_pkgname -$pkgver "
24
- install -Dm644 " $srcdir / $_pkgname - $pkgver /LICENSE " " $pkgdir /usr/share/licenses/ $pkgname /LICENSE "
28
+
25
29
python -m installer --destdir=" $pkgdir " dist/* .whl
26
- }
30
+
31
+ install -Dm 644 LICENSE " $pkgdir /usr/share/licenses/$pkgname /LICENSE"
32
+ }
33
+
You can’t perform that action at this time.
0 commit comments