From e61ff739eeafa56e159feb89f574963a7aaa8185 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20Koutensk=C3=BD?= Date: Wed, 5 Sep 2018 22:54:39 +0200 Subject: [PATCH] New package: stig-0.10.0a --- srcpkgs/python-natsort/template | 31 +++++++++++++++++++++++++++++++ srcpkgs/python3-natsort | 1 + srcpkgs/stig/template | 21 +++++++++++++++++++++ srcpkgs/stig/update | 2 ++ 4 files changed, 55 insertions(+) create mode 100644 srcpkgs/python-natsort/template create mode 120000 srcpkgs/python3-natsort create mode 100644 srcpkgs/stig/template create mode 100644 srcpkgs/stig/update diff --git a/srcpkgs/python-natsort/template b/srcpkgs/python-natsort/template new file mode 100644 index 0000000000..095793764a --- /dev/null +++ b/srcpkgs/python-natsort/template @@ -0,0 +1,31 @@ +# Template file for 'python-natsort' +pkgname=python-natsort +version=5.4.0 +revision=1 +noarch=yes +wrksrc="natsort-${version}" +build_style=python-module +pycompile_module="natsort" +hostmakedepends="python-setuptools python3-setuptools" +depends="python" +short_desc="Simple yet flexible natural sorting in Python" +maintainer="Michal Koutenský " +license="MIT" +homepage="https://pypi.org/project/natsort/" +distfiles="${PYPI_SITE}/n/natsort/natsort-${version}.tar.gz" +checksum=9130c8954f9437a0401d4e451b4b90a874b51ce47d91ede0f2cce4db762717f9 + +post_install() { + vlicense LICENSE +} + +python3-natsort_package() { + noarch=yes + depends="python3" + pycompile_module="natsort" + short_desc="${short_desc/Python2/Python3}" + pkg_install() { + vmove usr/lib/python3* + vlicense LICENSE + } +} diff --git a/srcpkgs/python3-natsort b/srcpkgs/python3-natsort new file mode 120000 index 0000000000..58b9239919 --- /dev/null +++ b/srcpkgs/python3-natsort @@ -0,0 +1 @@ +python-natsort \ No newline at end of file diff --git a/srcpkgs/stig/template b/srcpkgs/stig/template new file mode 100644 index 0000000000..baaf6b4487 --- /dev/null +++ b/srcpkgs/stig/template @@ -0,0 +1,21 @@ +# Template file for 'stig' +pkgname=stig +version=0.10.0a +revision=1 +noarch=yes +build_style=python3-module +hostmakedepends="python3-setuptools" +makedepends="python3-devel" +depends="python3 python3-aiohttp python3-blinker python3-natsort python3-urwid + python3-urwidtrees python3-xdg" +pycompile_module="stig" +short_desc="TUI and CLI for the BitTorrent client Transmission" +maintainer="Michal Koutenský " +license="GPL-3.0-or-later" +homepage="https://github.com/rndusr/stig" +distfiles="https://github.com/rndusr/stig/archive/v${version}.tar.gz" +checksum=45a89771cc9d7eaa9b51055e219e02e175859a427f173e796ec875c3db3d81a5 + +post_extract() { + sed -i 's/urwidtrees>=1.0.3dev0/urwidtrees>=1.0.2/' setup.py +} diff --git a/srcpkgs/stig/update b/srcpkgs/stig/update new file mode 100644 index 0000000000..7e803f09bf --- /dev/null +++ b/srcpkgs/stig/update @@ -0,0 +1,2 @@ +site=https://github.com/rndusr/stig/releases +pkgname=v