mirror of
https://github.com/BioArchLinux/Packages.git
synced 2025-03-10 12:02:42 +00:00
python-orange3*: Add New pkg and it's Dependences (#153)
This commit is contained in:
parent
c9afc5880c
commit
8a235c10bd
23 changed files with 489 additions and 0 deletions
25
BioArchLinux/python-anyqt/PKGBUILD
Normal file
25
BioArchLinux/python-anyqt/PKGBUILD
Normal file
|
@ -0,0 +1,25 @@
|
|||
# Maintainer: Kiri <kiri@vern.cc>
|
||||
|
||||
pkgname='python-anyqt'
|
||||
_module=AnyQt
|
||||
pkgver=0.2.0
|
||||
pkgrel=1
|
||||
pkgdesc="PyQt5/PyQt6 compatibility layer."
|
||||
arch=('x86_64')
|
||||
url="https://github.com/ales-erjavec/anyqt"
|
||||
license=('GPL')
|
||||
depends=(python)
|
||||
makedepends=(python-setuptools)
|
||||
source=("${pkgname}-${pkgver}.tar.gz::https://files.pythonhosted.org/packages/source/${_module::1}/$_module/${_module}-${pkgver}.tar.gz")
|
||||
sha256sums=('4b9228b918a26df2fdcc61f135db548ad3c3036e5bc7e67ba8147e0b6683763b')
|
||||
|
||||
build() {
|
||||
cd "${srcdir}/${_module}-${pkgver}"
|
||||
python setup.py build
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "${srcdir}/${_module}-${pkgver}"
|
||||
install -D -m644 LICENSE.txt "${pkgdir}/usr/share/licenses/python-anyqt/LICENSE"
|
||||
python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
|
||||
}
|
13
BioArchLinux/python-anyqt/lilac.yaml
Normal file
13
BioArchLinux/python-anyqt/lilac.yaml
Normal file
|
@ -0,0 +1,13 @@
|
|||
maintainers:
|
||||
- github: kiri2002
|
||||
email: kiri@vern.cc
|
||||
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: AnyQt
|
||||
- alias: python
|
28
BioArchLinux/python-baycomp/PKGBUILD
Normal file
28
BioArchLinux/python-baycomp/PKGBUILD
Normal file
|
@ -0,0 +1,28 @@
|
|||
# Maintainer: Kiri <kiri@vern.cc>
|
||||
|
||||
pkgname='python-baycomp'
|
||||
_module=baycomp
|
||||
pkgver=1.0.2
|
||||
pkgrel=1
|
||||
pkgdesc="Bayesian tests for comparison of classifiers"
|
||||
arch=('x86_64')
|
||||
url="https://github.com/janezd/baycomp.git"
|
||||
license=('MIT')
|
||||
depends=(python
|
||||
python-matplotlib
|
||||
python-numpy
|
||||
python-scipy)
|
||||
makedepends=(python-setuptools)
|
||||
source=("${pkgname}-${pkgver}.tar.gz::https://files.pythonhosted.org/packages/source/${_module::1}/$_module/${_module}-${pkgver}.tar.gz")
|
||||
sha256sums=('c43472c16bd7cdf4884dd4c73dd307e4a3da7097fe49c83cd5e88d75142923b0')
|
||||
|
||||
build() {
|
||||
cd "${srcdir}/${_module}-${pkgver}"
|
||||
python setup.py build
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "${srcdir}/${_module}-${pkgver}"
|
||||
install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/python-baycomp/LICENSE"
|
||||
python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
|
||||
}
|
13
BioArchLinux/python-baycomp/lilac.yaml
Normal file
13
BioArchLinux/python-baycomp/lilac.yaml
Normal file
|
@ -0,0 +1,13 @@
|
|||
maintainers:
|
||||
- github: kiri2002
|
||||
email: kiri@vern.cc
|
||||
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: baycomp
|
||||
- alias: python
|
28
BioArchLinux/python-dictdiffer/PKGBUILD
Normal file
28
BioArchLinux/python-dictdiffer/PKGBUILD
Normal file
|
@ -0,0 +1,28 @@
|
|||
# Maintainer: Kiri <kiri@vern.cc>
|
||||
|
||||
pkgname='python-dictdiffer'
|
||||
_module=dictdiffer
|
||||
pkgver=0.9.0
|
||||
pkgrel=1
|
||||
pkgdesc="Dictdiffer is a library that helps you to diff and patch dictionaries."
|
||||
arch=('x86_64')
|
||||
url="https://github.com/inveniosoftware/dictdiffer"
|
||||
license=('MIT')
|
||||
depends=(python)
|
||||
makedepends=(python-setuptools
|
||||
python-setuptools-scm
|
||||
python-wheel
|
||||
python-pytest-runner)
|
||||
source=("${pkgname}-${pkgver}.tar.gz::https://files.pythonhosted.org/packages/source/${_module::1}/$_module/${_module}-${pkgver}.tar.gz")
|
||||
sha256sums=('17bacf5fbfe613ccf1b6d512bd766e6b21fb798822a133aa86098b8ac9997578')
|
||||
|
||||
build() {
|
||||
cd "${srcdir}/${_module}-${pkgver}"
|
||||
python setup.py build
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "${srcdir}/${_module}-${pkgver}"
|
||||
install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/python-dictdiffer/LICENSE"
|
||||
python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
|
||||
}
|
13
BioArchLinux/python-dictdiffer/lilac.yaml
Normal file
13
BioArchLinux/python-dictdiffer/lilac.yaml
Normal file
|
@ -0,0 +1,13 @@
|
|||
maintainers:
|
||||
- github: kiri2002
|
||||
email: kiri@vern.cc
|
||||
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: dictdiffer
|
||||
- alias: python
|
30
BioArchLinux/python-keyrings.alt/PKGBUILD
Normal file
30
BioArchLinux/python-keyrings.alt/PKGBUILD
Normal file
|
@ -0,0 +1,30 @@
|
|||
# Maintainer: Kiri <kiri@vern.cc>
|
||||
|
||||
pkgname='python-keyrings.alt'
|
||||
_module=keyrings.alt
|
||||
pkgver=4.2.0
|
||||
pkgrel=1
|
||||
pkgdesc="Alternate keyring implementations"
|
||||
arch=('x86_64')
|
||||
url="https://github.com/jaraco/keyrings.alt"
|
||||
license=('MIT')
|
||||
depends=(python
|
||||
python-jaraco.classes)
|
||||
makedepends=(python-build
|
||||
python-installer
|
||||
python-setuptools
|
||||
python-setuptools-scm
|
||||
python-wheel)
|
||||
source=("${pkgname}-${pkgver}.tar.gz::https://files.pythonhosted.org/packages/source/${_module::1}/$_module/${_module}-${pkgver}.tar.gz")
|
||||
sha256sums=('2ba3d56441ba0637f5f9c096068f67010ac0453f9d0b626de2aa3019353b6431')
|
||||
|
||||
build() {
|
||||
cd "${srcdir}/${_module}-${pkgver}"
|
||||
python -m build --wheel --no-isolation
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "${srcdir}/${_module}-${pkgver}"
|
||||
install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/python-keyrings.alt/LICENSE"
|
||||
python -m installer --destdir="${pkgdir}" dist/*.whl
|
||||
}
|
13
BioArchLinux/python-keyrings.alt/lilac.yaml
Normal file
13
BioArchLinux/python-keyrings.alt/lilac.yaml
Normal file
|
@ -0,0 +1,13 @@
|
|||
maintainers:
|
||||
- github: kiri2002
|
||||
email: kiri@vern.cc
|
||||
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: keyrings.alt
|
||||
- alias: python
|
33
BioArchLinux/python-opentsne/PKGBUILD
Normal file
33
BioArchLinux/python-opentsne/PKGBUILD
Normal file
|
@ -0,0 +1,33 @@
|
|||
# Maintainer: Kiri <kiri@vern.cc>
|
||||
|
||||
pkgname='python-opentsne'
|
||||
_module=openTSNE
|
||||
pkgver=1.0.0
|
||||
pkgrel=1
|
||||
pkgdesc="Extensible, parallel implementations of t-SNE"
|
||||
arch=('x86_64')
|
||||
url="https://github.com/pavlin-policar/openTSNE"
|
||||
license=('custom:OSI Approved')
|
||||
depends=(python
|
||||
python-numpy
|
||||
python-scikit-learn
|
||||
python-scipy)
|
||||
makedepends=(python-build
|
||||
python-installer
|
||||
cython
|
||||
python-oldest-supported-numpy
|
||||
python-wheel
|
||||
python-setuptools)
|
||||
source=("${pkgname}-${pkgver}.tar.gz::https://files.pythonhosted.org/packages/source/${_module::1}/$_module/${_module}-${pkgver}.tar.gz")
|
||||
sha256sums=('03dafa41632ece9e9217d78769ed2d65e6086bdcab8bc8631d115b7d0ad06763')
|
||||
|
||||
build() {
|
||||
cd "${srcdir}/${_module}-${pkgver}"
|
||||
python -m build --wheel --no-isolation
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "${srcdir}/${_module}-${pkgver}"
|
||||
install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/python-opentsne/LICENSE"
|
||||
python -m installer --destdir="${pkgdir}" dist/*.whl
|
||||
}
|
15
BioArchLinux/python-opentsne/lilac.yaml
Normal file
15
BioArchLinux/python-opentsne/lilac.yaml
Normal file
|
@ -0,0 +1,15 @@
|
|||
maintainers:
|
||||
- github: kiri2002
|
||||
email: kiri@vern.cc
|
||||
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()
|
||||
repo_makedepends:
|
||||
python-oldest-supported-numpy
|
||||
update_on:
|
||||
- source: pypi
|
||||
pypi: openTSNE
|
||||
- alias: python
|
34
BioArchLinux/python-orange-canvas-core/PKGBUILD
Normal file
34
BioArchLinux/python-orange-canvas-core/PKGBUILD
Normal file
|
@ -0,0 +1,34 @@
|
|||
# Maintainer: Kiri <kiri@vern.cc>
|
||||
|
||||
pkgname='python-orange-canvas-core'
|
||||
_module=orange-canvas-core
|
||||
pkgver=0.1.31
|
||||
pkgrel=1
|
||||
pkgdesc="Core component of Orange Canvas"
|
||||
arch=('x86_64')
|
||||
url="http://orange.biolab.si/"
|
||||
license=('unknown')
|
||||
depends=(python
|
||||
python-anyqt
|
||||
python-cachecontrol
|
||||
python-commonmark
|
||||
python-dictdiffer
|
||||
python-docutils
|
||||
python-pip
|
||||
python-qasync
|
||||
python-requests
|
||||
python-setuptools)
|
||||
makedepends=(python-setuptools)
|
||||
source=("${pkgname}-${pkgver}.tar.gz::https://files.pythonhosted.org/packages/source/${_module::1}/$_module/${_module}-${pkgver}.tar.gz")
|
||||
sha256sums=('92a87f734a445852ea7f504c0fbf658b532a2e91ffe31add4c7f7effb60efed8')
|
||||
|
||||
build() {
|
||||
cd "${srcdir}/${_module}-${pkgver}"
|
||||
python setup.py build
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "${srcdir}/${_module}-${pkgver}"
|
||||
install -D -m644 LICENSE.txt "${pkgdir}/usr/share/licenses/python-orange-canvas-core/LICENSE"
|
||||
python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
|
||||
}
|
16
BioArchLinux/python-orange-canvas-core/lilac.yaml
Normal file
16
BioArchLinux/python-orange-canvas-core/lilac.yaml
Normal file
|
@ -0,0 +1,16 @@
|
|||
maintainers:
|
||||
- github: kiri2002
|
||||
email: kiri@vern.cc
|
||||
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: orange-canvas-core
|
||||
- alias: python
|
||||
repo_depends:
|
||||
- python-anyqt
|
||||
- python-dictdiffer
|
30
BioArchLinux/python-orange-widget-base/PKGBUILD
Normal file
30
BioArchLinux/python-orange-widget-base/PKGBUILD
Normal file
|
@ -0,0 +1,30 @@
|
|||
# Maintainer: Kiri <kiri@vern.cc>
|
||||
|
||||
pkgname='python-orange-widget-base'
|
||||
_module=orange-widget-base
|
||||
pkgver=4.21.0
|
||||
pkgrel=1
|
||||
pkgdesc="Base Widget for Orange Canvas"
|
||||
arch=('x86_64')
|
||||
url="http://orange.biolab.si/"
|
||||
license=('GPL')
|
||||
depends=(python
|
||||
python-anyqt
|
||||
python-matplotlib
|
||||
python-orange-canvas-core
|
||||
python-pyqtgraph
|
||||
python-typing_extensions)
|
||||
makedepends=(python-setuptools)
|
||||
source=("${pkgname}-${pkgver}.tar.gz::https://files.pythonhosted.org/packages/source/${_module::1}/$_module/${_module}-${pkgver}.tar.gz")
|
||||
sha256sums=('e3725e11d8046fa592ecfc925b5c74f1f9f4db297d43f1f0c0aa3aa236aa887d')
|
||||
|
||||
build() {
|
||||
cd "${srcdir}/${_module}-${pkgver}"
|
||||
python setup.py build
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "${srcdir}/${_module}-${pkgver}"
|
||||
install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/python-orange-widget-base/LICENSE"
|
||||
python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
|
||||
}
|
16
BioArchLinux/python-orange-widget-base/lilac.yaml
Normal file
16
BioArchLinux/python-orange-widget-base/lilac.yaml
Normal file
|
@ -0,0 +1,16 @@
|
|||
maintainers:
|
||||
- github: kiri2002
|
||||
email: kiri@vern.cc
|
||||
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: orange-widget-base
|
||||
- alias: python
|
||||
repo_depends:
|
||||
- python-anyqt
|
||||
- python-orange-canvas-core
|
69
BioArchLinux/python-orange3/PKGBUILD
Normal file
69
BioArchLinux/python-orange3/PKGBUILD
Normal file
|
@ -0,0 +1,69 @@
|
|||
# Maintainer: Kiri <kiri@vern.cc>
|
||||
|
||||
pkgname='python-orange3'
|
||||
_module=Orange3
|
||||
_pkgname=orange
|
||||
pkgver=3.35.0
|
||||
pkgrel=1
|
||||
pkgdesc="Orange, a component-based data mining framework."
|
||||
arch=('x86_64')
|
||||
url="https://orangedatamining.com/"
|
||||
license=('GPL')
|
||||
depends=(python
|
||||
python-anyqt
|
||||
python-baycomp
|
||||
python-bottleneck
|
||||
python-chardet
|
||||
python-httpx
|
||||
python-joblib
|
||||
python-keyring
|
||||
python-keyrings.alt
|
||||
python-matplotlib
|
||||
python-networkx
|
||||
python-numpy
|
||||
python-openpyxl
|
||||
python-opentsne
|
||||
python-orange-canvas-core
|
||||
python-orange-widget-base
|
||||
python-pandas
|
||||
python-pip
|
||||
python-pygments
|
||||
python-pyqtgraph
|
||||
python-python-louvain
|
||||
python-pyyaml
|
||||
python-qtconsole
|
||||
python-requests
|
||||
python-scikit-learn
|
||||
python-scipy
|
||||
python-serverfiles
|
||||
python-setuptools
|
||||
python-xlrd
|
||||
python-xlsxwriter)
|
||||
makedepends=(cython
|
||||
python-setuptools)
|
||||
source=("${pkgname}-${pkgver}.tar.gz::https://files.pythonhosted.org/packages/source/${_module::1}/$_module/${_module}-${pkgver}.tar.gz"
|
||||
"${_pkgname}.ico.tar.gz"
|
||||
"${_pkgname}.desktop"
|
||||
"${_pkgname}.sh")
|
||||
sha256sums=('61728d5fe0601f0f4df20d8b456c4244ea119feccfb25ee08837edd2bab0e9a0'
|
||||
'e82c5af66de8524c1e85cd47ec3708d03813284537b2e630167b632d96419cdc'
|
||||
'cce35bfe5d04119c076d8d28d51491c31f6c2fb257eac897cc9d486b99a6cf01'
|
||||
'29f3d0c4a4204115ff4a8c0eafbffb259c682da32c71beab847e8dc44f2da89f')
|
||||
|
||||
build() {
|
||||
cd "${srcdir}/${_module}-${pkgver}"
|
||||
python setup.py build
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "${srcdir}/${_module}-${pkgver}"
|
||||
install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/python-orange3/LICENSE"
|
||||
python setup.py install --root="$pkgdir" --optimize=1
|
||||
install -Dm 755 ${srcdir}/${_pkgname}.sh $pkgdir/usr/bin/${_pkgname}
|
||||
install -Dm 644 ${srcdir}/${_pkgname}.desktop $pkgdir/usr/share/applications/${_pkgname}.desktop
|
||||
for s in 16 24 32 48 64 96 128 256 512; do
|
||||
install -Dm 644 ${srcdir}/ico/${_pkgname}${s}x${s}.png $pkgdir/usr/share/icons/hicolor/${s}x${s}/apps/${_pkgname}.png
|
||||
done
|
||||
}
|
||||
|
||||
|
23
BioArchLinux/python-orange3/lilac.yaml
Normal file
23
BioArchLinux/python-orange3/lilac.yaml
Normal file
|
@ -0,0 +1,23 @@
|
|||
maintainers:
|
||||
- github: kiri2002
|
||||
email: kiri@vern.cc
|
||||
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: Orange3
|
||||
- alias: python
|
||||
repo_depends:
|
||||
- python-orange-canvas-core
|
||||
- python-pyyaml
|
||||
- python-baycomp
|
||||
- python-python-louvain
|
||||
- python-serverfiles
|
||||
- python-opentsne
|
||||
- python-orange-widget-base
|
||||
- python-anyqt
|
||||
- python-keyrings.alt
|
9
BioArchLinux/python-orange3/orange.desktop
Normal file
9
BioArchLinux/python-orange3/orange.desktop
Normal file
|
@ -0,0 +1,9 @@
|
|||
#!/usr/bin/env
|
||||
[Desktop Entry]
|
||||
Name=Orange
|
||||
Comment=Component-based data mining framework.
|
||||
Terminal=false
|
||||
Icon=orange
|
||||
Type=Application
|
||||
Exec=orange %U
|
||||
Categories=Education;Science;
|
BIN
BioArchLinux/python-orange3/orange.ico.tar.gz
Normal file
BIN
BioArchLinux/python-orange3/orange.ico.tar.gz
Normal file
Binary file not shown.
2
BioArchLinux/python-orange3/orange.sh
Normal file
2
BioArchLinux/python-orange3/orange.sh
Normal file
|
@ -0,0 +1,2 @@
|
|||
#!/usr/bin/sh
|
||||
exec python -m Orange.canvas
|
27
BioArchLinux/python-python-louvain/PKGBUILD
Normal file
27
BioArchLinux/python-python-louvain/PKGBUILD
Normal file
|
@ -0,0 +1,27 @@
|
|||
# Maintainer: Kiri <kiri@vern.cc>
|
||||
|
||||
pkgname='python-python-louvain'
|
||||
_module=python-louvain
|
||||
pkgver=0.16
|
||||
pkgrel=1
|
||||
pkgdesc="Louvain algorithm for community detection"
|
||||
arch=('x86_64')
|
||||
url="https://github.com/taynaud/python-louvain"
|
||||
license=('BSD')
|
||||
depends=(python
|
||||
python-networkx
|
||||
python-numpy)
|
||||
makedepends=(python-setuptools)
|
||||
source=("${pkgname}-${pkgver}.tar.gz::https://files.pythonhosted.org/packages/source/${_module::1}/$_module/${_module}-${pkgver}.tar.gz")
|
||||
sha256sums=('b7ba2df5002fd28d3ee789a49532baad11fe648e4f2117cf0798e7520a1da56b')
|
||||
|
||||
build() {
|
||||
cd "${srcdir}/${_module}-${pkgver}"
|
||||
python setup.py build
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "${srcdir}/${_module}-${pkgver}"
|
||||
install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/python-python-louvain/LICENSE"
|
||||
python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
|
||||
}
|
13
BioArchLinux/python-python-louvain/lilac.yaml
Normal file
13
BioArchLinux/python-python-louvain/lilac.yaml
Normal file
|
@ -0,0 +1,13 @@
|
|||
maintainers:
|
||||
- github: kiri2002
|
||||
email: kiri@vern.cc
|
||||
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: python-louvain
|
||||
- alias: python
|
26
BioArchLinux/python-serverfiles/PKGBUILD
Normal file
26
BioArchLinux/python-serverfiles/PKGBUILD
Normal file
|
@ -0,0 +1,26 @@
|
|||
# Maintainer: Kiri <kiri@vern.cc>
|
||||
|
||||
pkgname='python-serverfiles'
|
||||
_module=serverfiles
|
||||
pkgver=0.3.1
|
||||
pkgrel=1
|
||||
pkgdesc="An utility that accesses files on a HTTP server and stores them locally for reuse."
|
||||
arch=('x86_64')
|
||||
url="https://github.com/biolab/serverfiles"
|
||||
license=('unknown')
|
||||
depends=(python
|
||||
python-requests)
|
||||
makedepends=(python-setuptools)
|
||||
source=("${pkgname}-${pkgver}.tar.gz::https://files.pythonhosted.org/packages/source/${_module::1}/$_module/${_module}-${pkgver}.tar.gz")
|
||||
sha256sums=('5e10fc32e758791e3735bc08bce2ed4702a83b1e45ab96c5d59cc8aeecfbebe1')
|
||||
|
||||
build() {
|
||||
cd "${srcdir}/${_module}-${pkgver}"
|
||||
python setup.py build
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "${srcdir}/${_module}-${pkgver}"
|
||||
install -D -m644 LICENSE.txt "${pkgdir}/usr/share/licenses/python-serverfiles/LICENSE"
|
||||
python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
|
||||
}
|
13
BioArchLinux/python-serverfiles/lilac.yaml
Normal file
13
BioArchLinux/python-serverfiles/lilac.yaml
Normal file
|
@ -0,0 +1,13 @@
|
|||
maintainers:
|
||||
- github: kiri2002
|
||||
email: kiri@vern.cc
|
||||
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: serverfiles
|
||||
- alias: python
|
Loading…
Add table
Reference in a new issue