mirror of
https://github.com/BioArchLinux/Packages.git
synced 2025-03-10 12:02:42 +00:00
python-toyplot: init
This commit is contained in:
parent
7855e5a495
commit
34e3b3f3b6
6 changed files with 104 additions and 0 deletions
25
BioArchLinux/python-custom_inherit/PKGBUILD
Normal file
25
BioArchLinux/python-custom_inherit/PKGBUILD
Normal file
|
@ -0,0 +1,25 @@
|
|||
# Maintainer: Paul Irofti <paul@irofti.net>
|
||||
_name=custom_inherit
|
||||
pkgname="python-$_name"
|
||||
pkgver=2.4.1
|
||||
pkgrel=1
|
||||
pkgdesc="convenient, light-weight tools for inheriting docstrings"
|
||||
arch=('any')
|
||||
url="https://github.com/rsokl/custom_inherit"
|
||||
license=('MIT')
|
||||
depends=('python')
|
||||
makedepends=('python-setuptools')
|
||||
#source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz")
|
||||
source=("https://github.com/rsokl/custom_inherit/archive/refs/tags/v${pkgver}.tar.gz")
|
||||
sha256sums=('7052eb337bcce83551815264391cc4efc2bf70b295a3c52aba64f1ab57c3a8a2')
|
||||
|
||||
build() {
|
||||
cd "$srcdir/$_name-$pkgver"
|
||||
python setup.py build
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$srcdir/$_name-$pkgver"
|
||||
python setup.py install --root="$pkgdir" --optimize=1 --skip-build
|
||||
}
|
||||
|
10
BioArchLinux/python-custom_inherit/lilac.yaml
Normal file
10
BioArchLinux/python-custom_inherit/lilac.yaml
Normal file
|
@ -0,0 +1,10 @@
|
|||
build_prefix: extra-x86_64
|
||||
maintainers:
|
||||
- github: starsareintherose
|
||||
email: kuoi@bioarchlinux.org
|
||||
update_on:
|
||||
- source: github
|
||||
github: rsokl/custom_inherit
|
||||
use_latest_release: true
|
||||
prefix: 'v'
|
||||
- alias: python
|
26
BioArchLinux/python-multipledispatch/PKGBUILD
Normal file
26
BioArchLinux/python-multipledispatch/PKGBUILD
Normal file
|
@ -0,0 +1,26 @@
|
|||
# Maintainer: Michael Schubert <mschu.dev at gmail> github.com/mschubert/PKGBUILDs
|
||||
# Contributor: Gaël Donval <gdonval+aur at google mail>
|
||||
pkgname=python-multipledispatch
|
||||
_name=${pkgname#python-}
|
||||
pkgver=1.0.0
|
||||
pkgrel=4
|
||||
pkgdesc='Multiple dispatch implementation in Python'
|
||||
arch=('any')
|
||||
url='https://github.com/mrocklin/multipledispatch'
|
||||
license=('BSD-3-Clause')
|
||||
makedepends=(python-build python-installer python-wheel python-setuptools)
|
||||
depends=(python)
|
||||
source=(multipledispatch-$pkgver.tar.gz::https://github.com/mrocklin/multipledispatch/archive/$pkgver.tar.gz)
|
||||
sha256sums=('a9eb21390e5051ce28b2ee7acd02bb21885b9e2a4ce6e5fdbb1f338b48b54203')
|
||||
|
||||
build() {
|
||||
cd $_name-$pkgver
|
||||
python -m build --wheel --no-isolation
|
||||
}
|
||||
|
||||
package() {
|
||||
cd $_name-$pkgver
|
||||
python -m installer --destdir="$pkgdir" dist/*.whl
|
||||
install -D -m644 LICENSE* "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
|
||||
install -D -m644 README* "$pkgdir"/usr/share/doc/$pkgname/README
|
||||
}
|
9
BioArchLinux/python-multipledispatch/lilac.yaml
Normal file
9
BioArchLinux/python-multipledispatch/lilac.yaml
Normal file
|
@ -0,0 +1,9 @@
|
|||
build_prefix: extra-x86_64
|
||||
maintainers:
|
||||
- github: starsareintherose
|
||||
email: kuoi@bioarchlinux.org
|
||||
update_on:
|
||||
- source: github
|
||||
github: mrocklin/multipledispatch
|
||||
use_latest_release: true
|
||||
- alias: python
|
22
BioArchLinux/python-toyplot/PKGBUILD
Normal file
22
BioArchLinux/python-toyplot/PKGBUILD
Normal file
|
@ -0,0 +1,22 @@
|
|||
pkgname='python-toyplot'
|
||||
name=toyplot
|
||||
pkgver='2.0.0'
|
||||
pkgrel=1
|
||||
pkgdesc="A modern plotting toolkit supporting electronic publishing and reproducibility."
|
||||
url="https://github.com/sandialabs/toyplot"
|
||||
depends=('python' 'python-arrow' 'python-custom_inherit' 'python-multipledispatch' 'python-numpy' 'python-pypng' 'python-reportlab' 'python-six')
|
||||
makedepends=('python-build' 'python-installer' 'python-wheel')
|
||||
license=('BSD-3-Clause')
|
||||
arch=('any')
|
||||
source=("https://pypi.io/packages/source/${name::1}/${name}/${name}-${version}.tar.gz")
|
||||
sha256sums=('abdecb0c264e3f695cf560eea16076eee8ef79c900f69edebac7fb0b27fc0c0b')
|
||||
|
||||
build() {
|
||||
cd "${srcdir}/${name}-${pkgver}"
|
||||
python -m build --wheel --no-isolation
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "${srcdir}/${name}-${pkgver}"
|
||||
python -m installer --destdir="${pkgdir}" dist/*.whl
|
||||
}
|
12
BioArchLinux/python-toyplot/lilac.yaml
Normal file
12
BioArchLinux/python-toyplot/lilac.yaml
Normal file
|
@ -0,0 +1,12 @@
|
|||
build_prefix: extra-x86_64
|
||||
maintainers:
|
||||
- github: starsareintherose
|
||||
email: kuoi@bioarchlinux.org
|
||||
repo_depends:
|
||||
- python-custom_inherit
|
||||
- python-multipledispatch
|
||||
update_on:
|
||||
- source: pypi
|
||||
pypi: toyplot
|
||||
prefix: 'v'
|
||||
- alias: python
|
Loading…
Add table
Reference in a new issue