Skip to content

Commit

Permalink
python-wapiti-arsenic: initial commit.
Browse files Browse the repository at this point in the history
  • Loading branch information
noptrix committed Dec 2, 2024
1 parent 3c88d25 commit 3876766
Showing 1 changed file with 39 additions and 0 deletions.
39 changes: 39 additions & 0 deletions packages/python-wapiti-arsenic/PKGBUILD
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
# This file is part of BlackArch Linux ( https://www.blackarch.org/ ).
# See COPYING for license details.

pkgname=python-wapiti-arsenic
_pkgname=wapiti_arsenic
pkgver=28.2
pkgrel=1
pkgdesc='Asynchronous WebDriver client.'
arch=('any')
url='https://pypi.org/project/wapiti-arsenic/#files'
license=('Apache')
depends=('python' 'python-aiohttp')
makedepends=('python-build' 'python-pip' 'python-wheel')
source=("https://files.pythonhosted.org/packages/source/${_pkgname::1}/$_pkgname/$_pkgname-$pkgver.tar.gz")
sha512sums=('297508f2ad586a9b36b0642f4abbbb0956ada0727026fea3237f1ec29b4e5efdff201fa308b54ee2cae9cb583a450582f9d0c450d99a05bc5488917dca06f8f5')

build() {
cd "$_pkgname-$pkgver"

python -m build --wheel --outdir="$startdir/dist"
}

package() {
cd "$_pkgname-$pkgver"

pip install \
--verbose \
--disable-pip-version-check \
--no-warn-script-location \
--ignore-installed \
--no-compile \
--no-deps \
--root="$pkgdir" \
--prefix=/usr \
--no-index \
--find-links="file://$startdir/dist" \
$_pkgname
}

0 comments on commit 3876766

Please sign in to comment.