From 46f179e4fdf8794114f6f7d85e3178ca80cc9c8e Mon Sep 17 00:00:00 2001 From: FollieHiyuki Date: Tue, 27 Apr 2021 17:20:28 +0300 Subject: [PATCH 1/2] New package: python3-google-auth-oauthlib-0.4.4 --- srcpkgs/python3-google-auth-oauthlib/template | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 srcpkgs/python3-google-auth-oauthlib/template diff --git a/srcpkgs/python3-google-auth-oauthlib/template b/srcpkgs/python3-google-auth-oauthlib/template new file mode 100644 index 000000000000..1229ea2d62d4 --- /dev/null +++ b/srcpkgs/python3-google-auth-oauthlib/template @@ -0,0 +1,15 @@ +# Template file for 'python3-google-auth-oauthlib' +pkgname=python3-google-auth-oauthlib +version=0.4.4 +revision=1 +wrksrc="google-auth-oauthlib-${version}" +build_style=python3-module +hostmakedepends="python3-setuptools" +depends="python3-click python3-google-auth python3-requests-oauthlib" +checkdepends="python3-pytest python3-mock $depends" +short_desc="Oauthlib integration for Google Auth" +maintainer="FollieHiyuki " +license="Apache-2.0" +homepage="https://github.com/googleapis/google-auth-library-python-oauthlib" +distfiles="${PYPI_SITE}/g/google-auth-oauthlib/google-auth-oauthlib-${version}.tar.gz" +checksum=09832c6e75032f93818edf1affe4746121d640c625a5bef9b5c96af676e98eee From c95150b3bc04e9bb3abd641f4bebc783a49a851f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?= Date: Sat, 24 Apr 2021 10:06:24 +0700 Subject: [PATCH 2/2] beancount: update to 2.3.4 Switch distfile to github, since it contains example files needed for some tests to run. Add note about the Emacs mode file. --- srcpkgs/beancount/files/README.voidlinux | 3 +++ srcpkgs/beancount/template | 24 +++++++++++++++++------- 2 files changed, 20 insertions(+), 7 deletions(-) create mode 100644 srcpkgs/beancount/files/README.voidlinux diff --git a/srcpkgs/beancount/files/README.voidlinux b/srcpkgs/beancount/files/README.voidlinux new file mode 100644 index 000000000000..ebbd6614e06e --- /dev/null +++ b/srcpkgs/beancount/files/README.voidlinux @@ -0,0 +1,3 @@ +The elisp file `beancount.el` is now in a separated repository at +https://github.com/beancount/beancount-mode and isn't shipped with this package +anymore. diff --git a/srcpkgs/beancount/template b/srcpkgs/beancount/template index ab1aacd4f71b..502180bc2d9f 100644 --- a/srcpkgs/beancount/template +++ b/srcpkgs/beancount/template @@ -1,16 +1,26 @@ # Template file for 'beancount' pkgname=beancount -version=2.3.0 -revision=2 +version=2.3.4 +revision=1 build_style=python3-module hostmakedepends="python3-setuptools" makedepends="python3-devel" -depends="python3-pytest python3-dateutil python3-ply python3-bottle python3-lxml - python3-magic python3-BeautifulSoup4 python3-requests python3-chardet - python3-google-api-python-client python3-oauth2client" +depends="python3-dateutil python3-requests python3-httplib2 python3-oauth2client + python3-ply python3-lxml python3-click python3-google-api-python-client + python3-bottle python3-google-auth-oauthlib python3-BeautifulSoup4" +checkdepends="$depends python3-pytest python3-magic" short_desc="Double-entry accounting system based on plain text files" maintainer="Aluísio Augusto Silva Gonçalves " license="GPL-2.0-only" homepage="http://furius.ca/beancount/" -distfiles="${PYPI_SITE}/b/beancount/beancount-${version}.tar.gz" -checksum=9a6d9692435007195aae29a20328fb11d0126ff03db66322a79a894b1f422712 +distfiles="https://github.com/beancount/beancount/archive/${version}.tar.gz" +checksum=2daaeab4796d4db9440b06256194302a60d3c245a01e530543ba3df4a435b2ae + +do_check() { + cd build/lib* + pytest +} + +post_install() { + vdoc ${FILESDIR}/README.voidlinux +}