diff options
| author | vin <git@vineetk.net> | 2025-11-16 00:20:17 -0500 |
|---|---|---|
| committer | vin <git@vineetk.net> | 2025-11-16 00:23:55 -0500 |
| commit | c0b4f94fee312436f6ac6aa8dd64418a9424bbec (patch) | |
| tree | d6236888a6ffeb507b920cc92c5bc58128fb46b7 /python3-adblock/Pkgfile | |
| parent | fd8654fd2c47ba33ac7123e3cea0d733a5076888 (diff) | |
add python3-adblock based on my updated fork
Diffstat (limited to 'python3-adblock/Pkgfile')
| -rw-r--r-- | python3-adblock/Pkgfile | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/python3-adblock/Pkgfile b/python3-adblock/Pkgfile new file mode 100644 index 0000000..49a12f7 --- /dev/null +++ b/python3-adblock/Pkgfile | |||
| @@ -0,0 +1,17 @@ | |||
| 1 | # Description: Brave's adblock library in Python | ||
| 2 | # URL: https://github.com/arnidagur/python-adblock | ||
| 3 | # Maintainer: Shokara Kou, kou at 13f0 dot net | ||
| 4 | # Depends on: python3-maturin python3-toml | ||
| 5 | |||
| 6 | name=python3-adblock | ||
| 7 | version=0.7.0 | ||
| 8 | release=1 | ||
| 9 | source=(https://git.vineetk.net/vin/python-adblock/archive/0.7.0.tar.gz) | ||
| 10 | |||
| 11 | build() { | ||
| 12 | cd python-adblock | ||
| 13 | |||
| 14 | #maturin build --release --sdist --out dist/ | ||
| 15 | python3 -m build --wheel --skip-dependency-check --no-isolation | ||
| 16 | python3 -m installer --destdir=$PKG dist/*.whl | ||
| 17 | } | ||
