From ba59a74eef220ef58c8f7f2af569d247ff866bb1 Mon Sep 17 00:00:00 2001 From: travankor Date: Mon, 25 May 2020 12:44:43 -0700 Subject: [PATCH 1/3] New package: python3-asteval-0.9.19 --- srcpkgs/python3-asteval/template | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 srcpkgs/python3-asteval/template diff --git a/srcpkgs/python3-asteval/template b/srcpkgs/python3-asteval/template new file mode 100644 index 00000000000..0603a3e942b --- /dev/null +++ b/srcpkgs/python3-asteval/template @@ -0,0 +1,17 @@ +# Template file for 'python3-asteval' +pkgname=python3-asteval +version=0.9.19 +revision=1 +wrksrc=${pkgname#*-}-${version} +build_style=python3-module +hostmakedepends="python3-setuptools" +short_desc="Safe, minimalistic evaluator of python expression using ast module" +maintainer="travankor " +license="MIT" +homepage="https://github.com/newville/asteval" +distfiles="https://github.com/newville/asteval/archive/${version}.tar.gz" +checksum=5ba661d334adbed6e5dac462f7a2c327cf9fe66e2ebafcc4a363d52b26a04a9d + +post_install() { + vlicense LICENSE +} From b5158fb53d2fbb239707142677120c3ea1ba5d34 Mon Sep 17 00:00:00 2001 From: travankor Date: Mon, 25 May 2020 12:44:48 -0700 Subject: [PATCH 2/3] New package: python3-ansiwrap-0.8.4 --- srcpkgs/python3-ansiwrap/template | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 srcpkgs/python3-ansiwrap/template diff --git a/srcpkgs/python3-ansiwrap/template b/srcpkgs/python3-ansiwrap/template new file mode 100644 index 00000000000..8d1108fa13d --- /dev/null +++ b/srcpkgs/python3-ansiwrap/template @@ -0,0 +1,20 @@ +# Template file for 'python3-ansiwrap' +pkgname=python3-ansiwrap +version=0.8.4 +revision=1 +wrksrc=${pkgname#*-}-${version} +build_style=python3-module +hostmakedepends="python3-setuptools" +short_desc="Textwrap, but savvy to ANSI colors" +maintainer="travankor " +license="Apache-2.0" +homepage="https://pypi.org/project/ansiwrap/" +distfiles="${PYPI_SITE}/a/ansiwrap/ansiwrap-${version}.zip" +checksum=ca0c740734cde59bf919f8ff2c386f74f9a369818cdc60efe94893d01ea8d9b7 + +pre_build() { + # Use python 3.6+'s built in version of textwrap, not a random library + vsed -i '/textwrap3/d' setup.py + vsed -i '0,/a_textwrap.*/s//import textwrap/' ansiwrap/core.py + vsed -i 's/a_textwrap/textwrap/' ansiwrap/core.py +} From d84724002accb07a11ae985637c5292201bac5df Mon Sep 17 00:00:00 2001 From: travankor Date: Mon, 25 May 2020 13:08:47 -0700 Subject: [PATCH 3/3] jrnl: update to 2.4.5. --- srcpkgs/jrnl/template | 27 +++++++++++---------------- srcpkgs/jrnl/update | 1 + 2 files changed, 12 insertions(+), 16 deletions(-) create mode 100644 srcpkgs/jrnl/update diff --git a/srcpkgs/jrnl/template b/srcpkgs/jrnl/template index b184ef09508..5481be08acb 100644 --- a/srcpkgs/jrnl/template +++ b/srcpkgs/jrnl/template @@ -1,21 +1,16 @@ # Template file for 'jrnl' pkgname=jrnl -version=1.9.8 -revision=4 -archs=noarch +version=2.4.5 +revision=1 build_style=python3-module -pycompile_module="jrnl" hostmakedepends="python3-setuptools" -depends="python3-cryptography python3-dateutil python3-keyring -python3-keyrings-alt python3-parsedatetime python3-passlib python3-pytz -python3-setuptools python3-six python3-tzlocal python3-xdg python3-yaml" +depends="python3-ansiwrap python3-asteval python3-colorama python3-cryptography +python3-dateutil python3-keyring python3-parsedatetime python3-passlib +python3-pytz python3-tzlocal python3-xdg python3-yaml" short_desc="Simple journal application for your command line" -maintainer="travankor " -license="MIT" -homepage="http://jrnl.sh" -distfiles="https://github.com/maebert/jrnl/archive/${version}.tar.gz" -checksum=ec9dcf01f67a2329218fcd090b56042379937b269ddbd8c0c64097636f012e63 - -post_install() { - vlicense LICENSE -} +maintainer="Orphaned " +license="GPL-3.0-only" +homepage="https://jrnl.sh" +changelog="https://raw.githubusercontent.com/jrnl-org/jrnl/develop/CHANGELOG.md" +distfiles="${PYPI_SITE}/j/jrnl/jrnl-${version}.tar.gz" +checksum=a5f069efcaa3f5d95cc7712178b3f92915f67eed4034e5f257cc063c6b0e74d9 diff --git a/srcpkgs/jrnl/update b/srcpkgs/jrnl/update new file mode 100644 index 00000000000..0601fe8e911 --- /dev/null +++ b/srcpkgs/jrnl/update @@ -0,0 +1 @@ +site="https://pypi.org/project/jrnl"