From a37bd8345740b9f7453ce7d93490331acab8c115 Mon Sep 17 00:00:00 2001 From: FollieHiyuki Date: Thu, 18 Mar 2021 00:31:05 +0300 Subject: [PATCH 1/2] New package: python3-structlog-21.1.0 --- srcpkgs/python3-structlog/template | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 srcpkgs/python3-structlog/template diff --git a/srcpkgs/python3-structlog/template b/srcpkgs/python3-structlog/template new file mode 100644 index 000000000000..70ce78b094c1 --- /dev/null +++ b/srcpkgs/python3-structlog/template @@ -0,0 +1,24 @@ +# Template file for 'python3-structlog' +pkgname=python3-structlog +version=21.1.0 +revision=1 +wrksrc=structlog-${version} +build_style=python3-module +hostmakedepends="python3-setuptools" +depends="python3" +checkdepends="python3-pytest python3-pretend python3-pytest-asyncio + python3-simplejson python3-freezegun python3-Twisted" +short_desc="Structured logging for Python" +maintainer="FollieHiyuki " +license="MIT, Apache-2.0" +homepage="https://www.structlog.org/" +distfiles="https://github.com/hynek/structlog/archive/${version}.tar.gz" +checksum=dd70dfe65c2c1b0bcbb25ad21434672b48b9c1debc6714ff9c4457640127143e + +do_check() { + PYTHONPATH="$PWD"/src pytest +} + +post_install() { + vlicense LICENSE.mit +} From e3404a3290a8e3951aafb26a3047e919ecbaa7a7 Mon Sep 17 00:00:00 2001 From: FollieHiyuki Date: Thu, 18 Mar 2021 00:31:46 +0300 Subject: [PATCH 2/2] New package: nvchecker-2.2 --- srcpkgs/nvchecker/template | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 srcpkgs/nvchecker/template diff --git a/srcpkgs/nvchecker/template b/srcpkgs/nvchecker/template new file mode 100644 index 000000000000..72fce7a55e99 --- /dev/null +++ b/srcpkgs/nvchecker/template @@ -0,0 +1,20 @@ +# Template file for 'nvchecker' +pkgname=nvchecker +version=2.2 +revision=1 +build_style=python3-module +hostmakedepends="python3-setuptools" +depends="python3-curl python3-tornado python3-structlog python3-toml + python3-appdirs" +short_desc="New version checker for software releases" +maintainer="FollieHiyuki " +license="MIT" +homepage="https://github.com/lilydjwg/nvchecker" +distfiles="https://github.com/lilydjwg/nvchecker/archive/v${version}.tar.gz" +checksum=307d135186a1e1a65dca6fc22231953343cd7076519b35610d90ba0871a9c389 +# Test depends on python3-httpbin +make_check=no + +post_install() { + vlicense LICENSE +}