name='python3-milc'
version='1.8.0' Signed-off-by: Евгений Храмов <xpamych@yandex.ru>
This commit is contained in:
parent
09815046c8
commit
3f6be7a635
42
python3-milc/alr.sh
Normal file
42
python3-milc/alr.sh
Normal file
@ -0,0 +1,42 @@
|
|||||||
|
name='python3-milc'
|
||||||
|
version='1.8.0'
|
||||||
|
release='1'
|
||||||
|
desc='Opinionated Batteries-Included Python 3 CLI Framework.'
|
||||||
|
homepage='https://milc.clueboard.co/'
|
||||||
|
maintainer="Евгений Храмов <xpamych@yandex.ru>"
|
||||||
|
architectures=('all')
|
||||||
|
license=('MIT')
|
||||||
|
provides=('milc-color')
|
||||||
|
conflicts=('milc-color')
|
||||||
|
|
||||||
|
deps=(
|
||||||
|
'python3-appdirs'
|
||||||
|
'python3-argcomplete'
|
||||||
|
'python3-colorama'
|
||||||
|
'python3-halo'
|
||||||
|
)
|
||||||
|
build_deps=(
|
||||||
|
'python3-setuptools'
|
||||||
|
)
|
||||||
|
|
||||||
|
sources=("https://github.com/clueboard/milc/archive/${version}.tar.gz")
|
||||||
|
checksums=('SKIP')
|
||||||
|
|
||||||
|
build() {
|
||||||
|
cd "milc-${version}"
|
||||||
|
python setup.py build
|
||||||
|
}
|
||||||
|
|
||||||
|
check() {
|
||||||
|
cd "milc-${version}"
|
||||||
|
rm tests/test_script*.py
|
||||||
|
nose2
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
cd "milc-${version}"
|
||||||
|
python setup.py install --root="${pkgdir}/" --optimize=1 --skip-build
|
||||||
|
install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${name}/LICENSE"
|
||||||
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user