diff --git a/BioArchLinux/python-custom_inherit/PKGBUILD b/BioArchLinux/python-custom_inherit/PKGBUILD new file mode 100644 index 0000000000..f6f9913af1 --- /dev/null +++ b/BioArchLinux/python-custom_inherit/PKGBUILD @@ -0,0 +1,25 @@ +# Maintainer: Paul Irofti +_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 +} + diff --git a/BioArchLinux/python-custom_inherit/lilac.yaml b/BioArchLinux/python-custom_inherit/lilac.yaml new file mode 100644 index 0000000000..5b8a1c75e5 --- /dev/null +++ b/BioArchLinux/python-custom_inherit/lilac.yaml @@ -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 diff --git a/BioArchLinux/python-multipledispatch/PKGBUILD b/BioArchLinux/python-multipledispatch/PKGBUILD new file mode 100644 index 0000000000..ed7c93f4ed --- /dev/null +++ b/BioArchLinux/python-multipledispatch/PKGBUILD @@ -0,0 +1,26 @@ +# Maintainer: Michael Schubert github.com/mschubert/PKGBUILDs +# Contributor: Gaƫl Donval +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 +} diff --git a/BioArchLinux/python-multipledispatch/lilac.yaml b/BioArchLinux/python-multipledispatch/lilac.yaml new file mode 100644 index 0000000000..822f9f014d --- /dev/null +++ b/BioArchLinux/python-multipledispatch/lilac.yaml @@ -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 diff --git a/BioArchLinux/python-toyplot/PKGBUILD b/BioArchLinux/python-toyplot/PKGBUILD new file mode 100644 index 0000000000..7812f21691 --- /dev/null +++ b/BioArchLinux/python-toyplot/PKGBUILD @@ -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 +} diff --git a/BioArchLinux/python-toyplot/lilac.yaml b/BioArchLinux/python-toyplot/lilac.yaml new file mode 100644 index 0000000000..4d334f06e4 --- /dev/null +++ b/BioArchLinux/python-toyplot/lilac.yaml @@ -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