From c4eb1986669e90b72a01575a9a405c988d1b18cd Mon Sep 17 00:00:00 2001 From: FollieHiyuki Date: Thu, 18 Feb 2021 03:25:27 +0300 Subject: [PATCH 1/6] New package: python3-cachelib-0.1.1 --- srcpkgs/python3-cachelib/template | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 srcpkgs/python3-cachelib/template diff --git a/srcpkgs/python3-cachelib/template b/srcpkgs/python3-cachelib/template new file mode 100644 index 00000000000..5ac3c43d319 --- /dev/null +++ b/srcpkgs/python3-cachelib/template @@ -0,0 +1,18 @@ +# Template file for 'python3-cachelib' +pkgname=python3-cachelib +version=0.1.1 +revision=1 +wrksrc=cachelib-${version} +build_style=python3-module +hostmakedepends="python3-setuptools" +depends="python3" +short_desc="Collection of cache libraries in the same API interface" +maintainer="FollieHiyuki " +license="BSD-3-Clause" +homepage="https://github.com/pallets/cachelib" +distfiles="https://github.com/pallets/cachelib/archive/${version}.tar.gz" +checksum=7dfda661999f163ae3868a7060d6c1a5268d76d3e76b8219678e7f3f40d275d6 + +post_install() { + vlicense LICENSE +} From b72c87ad65786b9d6fe8f08930e70ec787d0596c Mon Sep 17 00:00:00 2001 From: FollieHiyuki Date: Thu, 18 Feb 2021 03:26:56 +0300 Subject: [PATCH 2/6] New package: python3-pyquery-1.4.3 --- srcpkgs/python3-pyquery/template | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 srcpkgs/python3-pyquery/template diff --git a/srcpkgs/python3-pyquery/template b/srcpkgs/python3-pyquery/template new file mode 100644 index 00000000000..b76ec55f3ae --- /dev/null +++ b/srcpkgs/python3-pyquery/template @@ -0,0 +1,20 @@ +# Template file for 'python3-pyquery' +pkgname=python3-pyquery +version=1.4.3 +revision=1 +wrksrc=pyquery-${version} +build_style=python3-module +hostmakedepends="python3-setuptools python3-cssselect python3-lxml + python3-WebOb" +short_desc="Python jquery-like library" +maintainer="FollieHiyuki " +license="BSD-3-Clause" +homepage="https://github.com/gawel/pyquery" +distfiles="https://github.com/gawel/pyquery/archive/${version}.tar.gz" +checksum=a5289db51828af0618d67039e2a12cbe9ac7bc532833b989f6235970eb40bfac +# Test needs python3-WebTest +make_check=extended + +post_install() { + vlicense LICENSE.txt +} From 40999316f3938fa4eabd4cba51b16cd6ea015d47 Mon Sep 17 00:00:00 2001 From: FollieHiyuki Date: Thu, 18 Feb 2021 03:28:30 +0300 Subject: [PATCH 3/6] New package: python3-Deprecated-1.2.11 --- srcpkgs/python3-Deprecated/template | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 srcpkgs/python3-Deprecated/template diff --git a/srcpkgs/python3-Deprecated/template b/srcpkgs/python3-Deprecated/template new file mode 100644 index 00000000000..c032483fdaf --- /dev/null +++ b/srcpkgs/python3-Deprecated/template @@ -0,0 +1,19 @@ +# Template file for 'python3-Deprecated' +pkgname=python3-Deprecated +version=1.2.11 +revision=1 +wrksrc=deprecated-${version} +build_style=python3-module +hostmakedepends="python3-setuptools" +depends="python3-wrapt" +checkdepends="$depends python3-pytest" +short_desc="Decorator to deprecate old python classes" +maintainer="FollieHiyuki " +license="MIT" +homepage="https://github.com/tantale/deprecated" +distfiles="https://github.com/tantale/deprecated/archive/v${version}.tar.gz" +checksum=0a43e7c19492217e5b32497c5a2327ebc9c2fc16ae45c2dbafa9fc0685a8bdf4 + +post_install() { + vlicense LICENSE.rst +} From c4f21ccd585eb45b38768cef06d204ee11fe2380 Mon Sep 17 00:00:00 2001 From: FollieHiyuki Date: Thu, 18 Feb 2021 03:29:02 +0300 Subject: [PATCH 4/6] New package: python3-PyGithub-1.54.1 --- srcpkgs/python3-PyGithub/template | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 srcpkgs/python3-PyGithub/template diff --git a/srcpkgs/python3-PyGithub/template b/srcpkgs/python3-PyGithub/template new file mode 100644 index 00000000000..85771c3d43f --- /dev/null +++ b/srcpkgs/python3-PyGithub/template @@ -0,0 +1,16 @@ +# Template file for 'python3-PyGithub' +pkgname=python3-PyGithub +version=1.54.1 +revision=1 +wrksrc=PyGithub-${version} +build_style=python3-module +hostmakedepends="python3-setuptools" +depends="python3-Deprecated python3-PyJWT python3-requests" +short_desc="Python library to access Github API v3" +maintainer="FollieHiyuki " +license="LGPL-3.0-or-later" +homepage="https://github.com/PyGithub/PyGithub" +distfiles="https://github.com/PyGithub/PyGithub/archive/v${version}.tar.gz" +checksum=40e6b59cda272e0094d6044efb60b14f0c3b94eba006c9f360f6f3e338a478ed +# Test needs python3-httppretty +make_check=extended From 7ac6cec687b17cf143dd98eca6284fedb341e1e0 Mon Sep 17 00:00:00 2001 From: FollieHiyuki Date: Thu, 18 Feb 2021 03:31:40 +0300 Subject: [PATCH 5/6] New package: keep-2.10.1 --- srcpkgs/keep/template | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 srcpkgs/keep/template diff --git a/srcpkgs/keep/template b/srcpkgs/keep/template new file mode 100644 index 00000000000..a998aef0d86 --- /dev/null +++ b/srcpkgs/keep/template @@ -0,0 +1,22 @@ +# Template file for 'keep' +pkgname=keep +version=2.10.1 +revision=1 +build_style=python3-module +hostmakedepends="python3-setuptools" +depends="python3-click python3-requests python3-terminaltables + python3-PyGithub" +short_desc="Personal shell command keeper and snippets manager" +maintainer="FollieHiyuki " +license="MIT" +homepage="https://github.com/OrkoHunter/keep" +distfiles="https://github.com/OrkoHunter/keep/archive/${version}.tar.gz" +checksum=76a4b52c0b68303615d83f1624f0288dd01dd1c4abc46a842dce1cbc7e3ddefb +# There is no test to run +make_check=no + +post_install() { + vlicense LICENSE.md + vcompletion completions/keep.bash bash + vcompletion completions/keep.zsh zsh +} From 2f4bed9196d2aa11e0be2d1f6a1ce3cb2e4f4e2e Mon Sep 17 00:00:00 2001 From: FollieHiyuki Date: Thu, 18 Feb 2021 03:32:10 +0300 Subject: [PATCH 6/6] New package: howdoi-2.0.14 --- srcpkgs/howdoi/patches/fix_cachelib_ver.patch | 28 +++++++++++++++++++ srcpkgs/howdoi/template | 20 +++++++++++++ 2 files changed, 48 insertions(+) create mode 100644 srcpkgs/howdoi/patches/fix_cachelib_ver.patch create mode 100644 srcpkgs/howdoi/template diff --git a/srcpkgs/howdoi/patches/fix_cachelib_ver.patch b/srcpkgs/howdoi/patches/fix_cachelib_ver.patch new file mode 100644 index 00000000000..6e2e04d93e0 --- /dev/null +++ b/srcpkgs/howdoi/patches/fix_cachelib_ver.patch @@ -0,0 +1,28 @@ +diff --git requirements/common.txt requirements/common.txt +index 8d7ccb5..5b0bc1f 100644 +--- requirements/common.txt ++++ requirements/common.txt +@@ -5,7 +5,7 @@ cssselect==1.1.0 + lxml>=4.2.5 + pyquery==1.4.1 + requests==2.24.0 +-cachelib==0.1 ++cachelib==0.1.1 + appdirs==1.4.4 + keep==2.9 +-pathlib==1.0.1 +\ No newline at end of file ++pathlib==1.0.1 +diff --git setup.py setup.py +index 2083949..4381f8e 100644 +--- setup.py ++++ setup.py +@@ -68,7 +68,7 @@ setup( + 'lxml', + 'pyquery', + 'requests', +- 'cachelib==0.1', ++ 'cachelib==0.1.1', + 'appdirs', + 'keep', + ] diff --git a/srcpkgs/howdoi/template b/srcpkgs/howdoi/template new file mode 100644 index 00000000000..e4321752265 --- /dev/null +++ b/srcpkgs/howdoi/template @@ -0,0 +1,20 @@ +# Template file for 'howdoi' +pkgname=howdoi +version=2.0.14 +revision=1 +build_style=python3-module +hostmakedepends="python3-setuptools" +depends="keep python3-Pygments python3-cssselect python3-lxml python3-pyquery + python3-requests python3-appdirs python3-cachelib" +checkdepends="$depends python3-pytest" +short_desc="Instant coding answers via command line" +maintainer="FollieHiyuki " +license="MIT" +homepage="https://github.com/gleitz/howdoi" +changelog="https://github.com/gleitz/howdoi/blob/master/CHANGES.txt" +distfiles="https://github.com/gleitz/howdoi/archive/v${version}.tar.gz" +checksum=d5bfa237de4759e890048fc77fcad340a822e24d0ec6175329783d395f61a5fb + +post_install() { + vlicense LICENSE.txt +}