python-curtsies: update to 0.3.0
This commit is contained in:
parent
3151002c76
commit
625fc96615
11
srcpkgs/python-curtsies/patches/fix-setup.py.patch
Normal file
11
srcpkgs/python-curtsies/patches/fix-setup.py.patch
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
--- setup.py.orig
|
||||||
|
+++ setup.py
|
||||||
|
@@ -41,7 +41,7 @@ def get_long_description():
|
||||||
|
install_requires = [
|
||||||
|
'blessings>=1.5',
|
||||||
|
'wcwidth>=0.1.4',
|
||||||
|
- 'typing',
|
||||||
|
+ 'typing;python_version<"3.5"',
|
||||||
|
],
|
||||||
|
tests_require = [
|
||||||
|
'mock',
|
@ -1,19 +1,19 @@
|
|||||||
# Template file for 'python-curtsies'
|
# Template file for 'python-curtsies'
|
||||||
pkgname=python-curtsies
|
pkgname=python-curtsies
|
||||||
version=0.2.12
|
version=0.3.0
|
||||||
revision=1
|
revision=1
|
||||||
noarch=yes
|
noarch=yes
|
||||||
wrksrc="curtsies-${version}"
|
wrksrc="curtsies-${version}"
|
||||||
build_style=python-module
|
build_style=python-module
|
||||||
pycompile_module="curtsies"
|
pycompile_module="curtsies"
|
||||||
hostmakedepends="python-setuptools python3-setuptools"
|
hostmakedepends="python-setuptools python3-setuptools"
|
||||||
depends="python-blessings>=1.5 python-wcwidth>=0.1.4"
|
depends="python-blessings python-wcwidth python-typing"
|
||||||
short_desc="Curses-like terminal wrapper, with colored strings (Python2)"
|
short_desc="Curses-like terminal wrapper, with colored strings (Python2)"
|
||||||
maintainer="Maurizio Porrato <maurizio.porrato@gmail.com>"
|
maintainer="Maurizio Porrato <maurizio.porrato@gmail.com>"
|
||||||
homepage="https://github.com/thomasballinger/curtsies"
|
homepage="https://github.com/thomasballinger/curtsies"
|
||||||
license="MIT"
|
license="MIT"
|
||||||
distfiles="${PYPI_SITE}/c/curtsies/curtsies-${version}.tar.gz"
|
distfiles="${PYPI_SITE}/c/curtsies/curtsies-${version}.tar.gz"
|
||||||
checksum=691047d1f8e97daec01866e762706743d0d7461ff69e04acb704dee4b55722cb
|
checksum=89c802ec051d01dec6fc983e9856a3706e4ea8265d2940b1f6d504a9e26ed3a9
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
vlicense LICENSE
|
vlicense LICENSE
|
||||||
@ -22,7 +22,7 @@ post_install() {
|
|||||||
python3-curtsies_package() {
|
python3-curtsies_package() {
|
||||||
noarch=yes
|
noarch=yes
|
||||||
pycompile_module="curtsies"
|
pycompile_module="curtsies"
|
||||||
depends="python3-blessings>=1.5 python3-wcwidth>=0.1.4"
|
depends="python3-blessings python3-wcwidth"
|
||||||
short_desc="${short_desc/Python2/Python3}"
|
short_desc="${short_desc/Python2/Python3}"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove usr/lib/python3*
|
vmove usr/lib/python3*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user