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 d62c032457d75118b19f80b1378d9a4260af70a2 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 Fix elisp location --- srcpkgs/beancount/template | 23 +++++++++++++++++------ 1 file changed, 17 insertions(+), 6 deletions(-) diff --git a/srcpkgs/beancount/template b/srcpkgs/beancount/template index ab1aacd4f71b..5b7b33ebda6c 100644 --- a/srcpkgs/beancount/template +++ b/srcpkgs/beancount/template @@ -1,16 +1,27 @@ # 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" 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 +checksum=2bf08ce6a95d98000f4d73395985cd1deb81c0d52ed5a76e610bac77d82f86c0 + +do_check() { + cd build/lib* + pytest +} + +post_install() { + vmkdir usr/share/emacs/site-lisp + mv ${DESTDIR}/usr/elisp/* ${DESTDIR}/usr/share/emacs/site-lisp +}