From 9bcd3e7af6447c0fe3952ae405d72e987b56ba85 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?= Date: Tue, 25 Aug 2020 22:58:56 +0700 Subject: [PATCH 1/3] New package: python3-pyfavicon-0.1.1 --- srcpkgs/python3-pyfavicon/template | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 srcpkgs/python3-pyfavicon/template diff --git a/srcpkgs/python3-pyfavicon/template b/srcpkgs/python3-pyfavicon/template new file mode 100644 index 00000000000000..720db69887921c --- /dev/null +++ b/srcpkgs/python3-pyfavicon/template @@ -0,0 +1,23 @@ +# Template file for 'python3-pyfavicon' +pkgname=python3-pyfavicon +version=0.1.1 +revision=1 +archs=noarch +wrksrc=pyfavicon-$version +build_style=python3-module +hostmakedepends="python3-setuptools" +depends="python3-BeautifulSoup4 python3-Pillow python3-aiohttp" +checkdepends="$depends python3-pytest-cov python3-requests python3-docopt + python3-urllib3" +short_desc="Async favicon fetcher for Python" +maintainer="Đoàn Trần Công Danh " +license="MIT" +homepage="https://github.com/bilelmoussaoui/pyfavicon" +# pypi tarbal doesn't have license +# distfiles="$PYPI_SITE/p/pyfavicon/pyfavicon-$version.tar.gz" +distfiles="$homepage/archive/$version.tar.gz" +checksum=7bd832c3b131a13789492909d5000dc3993ad54939615577f1545c53aa10f88f + +post_install() { + vlicense LICENSE +} From a1f1d744bff6f23515c6933843c1ba079f08e3be Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?= Date: Wed, 26 Aug 2020 00:15:13 +0700 Subject: [PATCH 2/3] New package: python3-yoyo-migrations-7.2.0 --- srcpkgs/python3-yoyo-migrations/template | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 srcpkgs/python3-yoyo-migrations/template diff --git a/srcpkgs/python3-yoyo-migrations/template b/srcpkgs/python3-yoyo-migrations/template new file mode 100644 index 00000000000000..9e481e153f425d --- /dev/null +++ b/srcpkgs/python3-yoyo-migrations/template @@ -0,0 +1,19 @@ +# Template file for 'python3-yoyo-migrations' +pkgname=python3-yoyo-migrations +version=7.2.0 +revision=1 +archs=noarch +wrksrc=yoyo-migrations-$version +build_style=python3-module +hostmakedepends="python3-setuptools" +depends="python3-sqlparse" +short_desc="Database migrations with SQL" +maintainer="Đoàn Trần Công Danh " +license="Apache-2.0" +homepage="https://ollycope.com/software/yoyo/latest/" +distfiles="$PYPI_SITE/y/yoyo-migrations/yoyo-migrations-$version.tar.gz" +checksum=a54f6176ff6da3330be537c962235aaa9e5f7f2aae563b1c531b1cb616d80359 + +do_check() { + : +} From ae8eff26d03283b134046bcbfa49ca03c0318466 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?= Date: Wed, 26 Aug 2020 00:15:30 +0700 Subject: [PATCH 3/3] gnome-authenticator: update to 3.32.2. --- srcpkgs/gnome-authenticator/template | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/srcpkgs/gnome-authenticator/template b/srcpkgs/gnome-authenticator/template index 1e8a55ed74c4b3..d9bea508028cf2 100644 --- a/srcpkgs/gnome-authenticator/template +++ b/srcpkgs/gnome-authenticator/template @@ -1,16 +1,22 @@ # Template file for 'gnome-authenticator' pkgname=gnome-authenticator version=3.32.2 -revision=1 +revision=2 wrksrc="Authenticator-${version}" build_style=meson build_helper="gir" -hostmakedepends="gettext appstream-glib desktop-file-utils git glib-devel pkg-config" -makedepends="gobject-introspection gtk+3-devel libglib-devel libsecret-devel libzbar-devel python3" -depends="python3-pyzbar python3-Pillow python3-pyotp" +hostmakedepends="gettext appstream-glib desktop-file-utils glib-devel pkg-config" +makedepends="gtk+3-devel libglib-devel libsecret-devel libzbar-devel" +depends="python3-pyzbar python3-Pillow python3-pyotp libhandy python3-gobject + gnome-keyring python3-yoyo-migrations python3-pyfavicon" short_desc="Two-factor authentication code generator for GNOME" maintainer="Enno Boland " license="GPL-3.0-or-later" homepage="https://gitlab.gnome.org/World/Authenticator" distfiles="${homepage}/-/archive/${version}/Authenticator-${version}.tar.gz" checksum="d7250fbef1de2dcb599a55ff3d40dcc6ed5618fe89d50ec795281d8ba3123d5b" + +post_patch() { + find src/Authenticator/widgets -type f -exec \ + sed -i '/init_template/d' {} + +}