blob: 1a483d2da318dc4bfe87c9e3ed2abd181b7b2695 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
# Maintainer: Rafael Dominiquini <rafaeldominiquini at gmail dor com>
_upstreamver='1.30.1'
_upstreamver_regex='^[0-9]+\.[0-9]+\.[0-9]+$'
_source_type='pypi-releases'
_pypi_package='moulti'
pkgname="python-${_pypi_package}"
pkgver="${_upstreamver}"
pkgrel=1
pkgdesc="CLI-driven Terminal User Interface (TUI) that enables you to assign the numerous lines emitted by your scripts to visual, collapsible blocks called steps"
arch=('any')
url='https://github.com/napisani/procmux'
license=('MIT')
provides=("moulti")
depends=('python' 'bpython' 'mypy' 'twine' 'python-argcomplete' 'python-pylint' 'python-pyperclip' 'python-textual' 'python-unidiff')
optdepends=()
makedepends=('python-setuptools' 'python-wheel' 'python-build' 'python-installer')
# checkdepends=('python-pytest' 'python-pytest-asyncio' 'python-pytest-forked' 'python-pytest-xdist')
source=("https://files.pythonhosted.org/packages/source/${_pypi_package::1}/${_pypi_package}/${_pypi_package}-${pkgver}.tar.gz")
sha256sums=('487e71cc4eca9178c9eb50a3ef5f75fc1221ca911f64f07174ddc6637b6c86fb')
prepare() {
cd "${srcdir}/${_pypi_package}-${pkgver}/"
}
build() {
cd "${srcdir}/${_pypi_package}-${pkgver}/"
python -m build --wheel --no-isolation
}
#check(){
# cd "${srcdir}/${_pypi_package}-${pkgver}/"
#
# PYTHONPATH=src pytest -vv
#}
package() {
cd "${srcdir}/${_pypi_package}-${pkgver}/"
python -m installer --destdir="$pkgdir" dist/*.whl
}
|