mirror of
https://github.com/BioArchLinux/Packages.git
synced 2025-03-10 12:02:42 +00:00
python-pyvis: dependency for rnalysis
This commit is contained in:
parent
33f829e07e
commit
eb874861ad
6 changed files with 174 additions and 0 deletions
50
BioArchLinux/python-pyvis/PKGBUILD
Normal file
50
BioArchLinux/python-pyvis/PKGBUILD
Normal file
|
@ -0,0 +1,50 @@
|
|||
# Maintainer: Carl Smedstad <carl.smedstad at protonmail dot com>
|
||||
|
||||
pkgname=python-pyvis
|
||||
_name=${pkgname#python-}
|
||||
pkgver=0.3.2
|
||||
pkgrel=1
|
||||
pkgdesc="Python package for creating and visualizing interactive network graphs"
|
||||
arch=(any)
|
||||
url="https://github.com/WestHealth/pyvis"
|
||||
license=(custom:BSD3)
|
||||
makedepends=('python-setuptools')
|
||||
checkdepends=(
|
||||
'python-pytest'
|
||||
'python-selenium'
|
||||
)
|
||||
depends=(
|
||||
'python'
|
||||
'python-numpy'
|
||||
'ipython'
|
||||
'python-jinja'
|
||||
'python-jsonpickle'
|
||||
'python-networkx'
|
||||
'python-pandas'
|
||||
)
|
||||
|
||||
source=("$pkgname-$pkgver.tar.gz::$url/archive/refs/tags/v${pkgver}.tar.gz")
|
||||
sha256sums=('ff947e224d9825e4b0f3d6710075945c5c8d13bf60aa54e6396c996f34851a3a')
|
||||
|
||||
_archive="$_name-$pkgver"
|
||||
|
||||
build() {
|
||||
cd "$_archive"
|
||||
|
||||
python setup.py build
|
||||
}
|
||||
|
||||
check() {
|
||||
cd "$_archive"
|
||||
|
||||
python -m pytest --ignore=pyvis/tests/test_html.py
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$_archive"
|
||||
|
||||
export PYTHONHASHSEED=0
|
||||
python setup.py install --root="$pkgdir" --optimize=1 --skip-build
|
||||
|
||||
install -Dm644 LICENSE_BSD.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
|
||||
}
|
17
BioArchLinux/python-pyvis/lilac.yaml
Normal file
17
BioArchLinux/python-pyvis/lilac.yaml
Normal file
|
@ -0,0 +1,17 @@
|
|||
build_prefix: extra-x86_64
|
||||
maintainers:
|
||||
- github: kbipinkumar
|
||||
email: kbipinkumar@pm.me
|
||||
pre_build_script: |
|
||||
update_pkgver_and_pkgrel(_G.newver.lstrip('v'))
|
||||
run_cmd(['updpkgsums'])
|
||||
repo_depends:
|
||||
- python-selenium
|
||||
- python-trio-websocket
|
||||
post_build_script: |
|
||||
git_pkgbuild_commit()
|
||||
update_on:
|
||||
- source: github
|
||||
github: WestHealth/pyvis
|
||||
use_latest_release: true
|
||||
prefix: 'v'
|
53
BioArchLinux/python-selenium/PKGBUILD
Normal file
53
BioArchLinux/python-selenium/PKGBUILD
Normal file
|
@ -0,0 +1,53 @@
|
|||
# Maintainer: Anton Kudelin <kudelin at proton dot me>
|
||||
# Contributor: Jelle van der Waa <jelle@vdwaa.nl>
|
||||
# Contributor: Aaron DeVore <aaron.devore@gmail.com>
|
||||
|
||||
_pyname=selenium
|
||||
_suffix=''
|
||||
pkgname=python-$_pyname
|
||||
pkgver=4.9.1
|
||||
pkgrel=1
|
||||
pkgdesc="Python language bindings for Selenium WebDriver"
|
||||
arch=(any)
|
||||
url="https://www.selenium.dev"
|
||||
license=(Apache)
|
||||
depends=('python-urllib3' 'python-certifi' 'python-debugpy' 'python-multidict'
|
||||
'python-importlib-metadata' 'python-trio-websocket'
|
||||
'python-inflection' 'geckodriver' 'python-typing_extensions')
|
||||
makedepends=(python-build python-installer python-setuptools python-wheel)
|
||||
checkdepends=(python-pytest)
|
||||
source=(https://github.com/SeleniumHQ/${_pyname}/archive/refs/tags/${_pyname}-${pkgver}${suffix}.tar.gz)
|
||||
sha256sums=('f6a11c5ac8e00e94e14e2232ea89d1b07d0334871cc5890df0a5fd50f511f09e')
|
||||
options=(!makeflags)
|
||||
|
||||
prepare() {
|
||||
cd "${srcdir}/${_pyname}-${_pyname}-${pkgver}${suffix}/py"
|
||||
cp ../rb/lib/$_pyname/webdriver/atoms/* $_pyname/webdriver/remote
|
||||
echo '{"frozen":{},"mutable":{}}' > \
|
||||
$_pyname/webdriver/firefox/webdriver_prefs.json
|
||||
}
|
||||
|
||||
build() {
|
||||
cd "${srcdir}/${_pyname}-${_pyname}-${pkgver}${suffix}/py"
|
||||
python -m build \
|
||||
--wheel \
|
||||
--no-isolation \
|
||||
--skip-dependency-check
|
||||
}
|
||||
|
||||
check() {
|
||||
cd "${srcdir}/${_pyname}-${_pyname}-${pkgver}${suffix}/py"
|
||||
|
||||
python -m venv --system-site-packages test-env
|
||||
test-env/bin/python -m installer dist/*.whl
|
||||
|
||||
test-env/bin/python -m pytest -v
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "${srcdir}/${_pyname}-${_pyname}-${pkgver}${suffix}/py"
|
||||
python -m installer \
|
||||
--destdir="$pkgdir" \
|
||||
--compile-bytecode=1 \
|
||||
dist/*.whl
|
||||
}
|
16
BioArchLinux/python-selenium/lilac.yaml
Normal file
16
BioArchLinux/python-selenium/lilac.yaml
Normal file
|
@ -0,0 +1,16 @@
|
|||
build_prefix: extra-x86_64
|
||||
maintainers:
|
||||
- github: kbipinkumar
|
||||
email: kbipinkumar@pm.me
|
||||
pre_build_script: |
|
||||
update_pkgver_and_pkgrel(_G.newver.lstrip('v'))
|
||||
run_cmd(['updpkgsums'])
|
||||
repo_depends:
|
||||
- python-trio-websocket
|
||||
post_build_script: |
|
||||
git_pkgbuild_commit()
|
||||
update_on:
|
||||
- source: github
|
||||
github: SeleniumHQ/selenium
|
||||
use_latest_release: true
|
||||
- alias: python
|
25
BioArchLinux/python-trio-websocket/PKGBUILD
Normal file
25
BioArchLinux/python-trio-websocket/PKGBUILD
Normal file
|
@ -0,0 +1,25 @@
|
|||
# Maintainer: Achmad Fathoni<fathoni.id(at)gmail.com>
|
||||
# Maintainer: Michał Wojdyła < micwoj9292 at gmail dot com >
|
||||
pkgname=python-trio-websocket
|
||||
_pkgname=${pkgname:7}
|
||||
pkgver=0.10.2
|
||||
pkgrel=1
|
||||
pkgdesc="WebSocket library for Trio"
|
||||
arch=('any')
|
||||
url="https://pypi.org/project/${_pkgname}"
|
||||
license=(MIT)
|
||||
makedepends=(python-build python-installer python-wheel python-setuptools)
|
||||
depends=(python python-exceptiongroup python-trio python-wsproto)
|
||||
source=(https://files.pythonhosted.org/packages/source/${_pkgname::1}/$_pkgname/$_pkgname-$pkgver.tar.gz)
|
||||
sha256sums=('af13e9393f9051111300287947ec595d601758ce3d165328e7d36325135a8d62')
|
||||
|
||||
build() {
|
||||
cd ${srcdir}/${_pkgname}-${pkgver}
|
||||
python -m build --wheel --no-isolation
|
||||
}
|
||||
|
||||
package() {
|
||||
cd ${srcdir}/${_pkgname}-${pkgver}
|
||||
python -m installer --destdir="$pkgdir" dist/*.whl
|
||||
install -Dm644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname"
|
||||
}
|
13
BioArchLinux/python-trio-websocket/lilac.yaml
Normal file
13
BioArchLinux/python-trio-websocket/lilac.yaml
Normal file
|
@ -0,0 +1,13 @@
|
|||
maintainers:
|
||||
- github: kbipinkumar
|
||||
email: kbipinkumar@pm.me
|
||||
build_prefix: extra-x86_64
|
||||
pre_build_script: |
|
||||
update_pkgver_and_pkgrel(_G.newver.lstrip('v'))
|
||||
run_cmd(['updpkgsums'])
|
||||
post_build_script: |
|
||||
git_pkgbuild_commit()
|
||||
update_on:
|
||||
- source: pypi
|
||||
pypi: trio-websocket
|
||||
- alias: python
|
Loading…
Add table
Reference in a new issue