From 73bb2cfabf857e394187c3e478355234e90f1764 Mon Sep 17 00:00:00 2001 From: Adam Beckmeyer Date: Mon, 14 Oct 2019 10:13:13 -0400 Subject: [PATCH 1/8] New package: python-logbook-1.5.2 Required dependency for pantalaimon --- srcpkgs/python-logbook/template | 33 +++++++++++++++++++++++++++++++++ srcpkgs/python3-logbook | 1 + 2 files changed, 34 insertions(+) create mode 100644 srcpkgs/python-logbook/template create mode 120000 srcpkgs/python3-logbook diff --git a/srcpkgs/python-logbook/template b/srcpkgs/python-logbook/template new file mode 100644 index 00000000000..19adb0ec6a2 --- /dev/null +++ b/srcpkgs/python-logbook/template @@ -0,0 +1,33 @@ +# Template file for 'python-logbook' +pkgname=python-logbook +version=1.5.2 +revision=1 +wrksrc="logbook-${version}" +build_style=python-module +pycompile_module="logbook" +hostmakedepends="python-setuptools python3-setuptools python-devel python3-devel + python-Cython" +short_desc="Python2 replacement for python standard library logging module" +maintainer="Adam Beckmeyer " +license="BSD-3-Clause" +homepage="https://logbook.readthedocs.org" +distfiles="https://github.com/getlogbook/logbook/archive/${version}.tar.gz" +checksum=3eebcb13a41636004a2d03d875bc1c2ccc4afb02dc13f45320b147fee79c9739 + +pre_build() { + cython logbook/_speedups.pyx +} + +post_install() { + vlicense LICENSE +} + +python3-logbook_package() { + pycompile_module="logbook" + depends="python3" + short_desc="${short_desc/Python2/Python3}" + pkg_install() { + vmove "usr/lib/python3*" + vlicense LICENSE + } +} diff --git a/srcpkgs/python3-logbook b/srcpkgs/python3-logbook new file mode 120000 index 00000000000..03b3bfdd2bc --- /dev/null +++ b/srcpkgs/python3-logbook @@ -0,0 +1 @@ +python-logbook \ No newline at end of file From ae712db4c55e5195904d63539f430d111e350184 Mon Sep 17 00:00:00 2001 From: Adam Beckmeyer Date: Mon, 14 Oct 2019 10:23:30 -0400 Subject: [PATCH 2/8] New package: python3-janus-0.4.0 Required dependency for pantalaimon --- srcpkgs/python3-janus/template | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 srcpkgs/python3-janus/template diff --git a/srcpkgs/python3-janus/template b/srcpkgs/python3-janus/template new file mode 100644 index 00000000000..8b10333c720 --- /dev/null +++ b/srcpkgs/python3-janus/template @@ -0,0 +1,15 @@ +# Template file for 'python3-janus' +pkgname=python3-janus +version=0.4.0 +revision=1 +archs=noarch +wrksrc="janus-${version}" +build_style=python3-module +pycompile_module="janus" +hostmakedepends="python3-setuptools" +short_desc="Thread-safe asyncio-aware queue" +maintainer="Adam Beckmeyer " +license="Apache-2.0" +homepage="https://github.com/aio-libs/janus" +distfiles="${homepage}/archive/v${version}.tar.gz" +checksum=d19a52fbe16f1910cec18c95b9b2f2bbdc07a6cebcd1fa9acd43b4dcb8f6f7a7 From 4bb2240a68b248ba420238888ea81a4b3ad6ddde Mon Sep 17 00:00:00 2001 From: Adam Beckmeyer Date: Mon, 14 Oct 2019 10:43:59 -0400 Subject: [PATCH 3/8] New package: python-unpaddedbase64-1.1.0 Moved existing python3 package to package both python2 and python3 versions --- srcpkgs/python-unpaddedbase64/template | 24 ++++++++++++++++++++++++ srcpkgs/python3-unpaddedbase64 | 1 + srcpkgs/python3-unpaddedbase64/template | 16 ---------------- 3 files changed, 25 insertions(+), 16 deletions(-) create mode 100644 srcpkgs/python-unpaddedbase64/template create mode 120000 srcpkgs/python3-unpaddedbase64 delete mode 100644 srcpkgs/python3-unpaddedbase64/template diff --git a/srcpkgs/python-unpaddedbase64/template b/srcpkgs/python-unpaddedbase64/template new file mode 100644 index 00000000000..4188f200502 --- /dev/null +++ b/srcpkgs/python-unpaddedbase64/template @@ -0,0 +1,24 @@ +# Template file for 'python-unpaddedbase64' +pkgname=python-unpaddedbase64 +version=1.1.0 +revision=1 +archs=noarch +wrksrc="python-unpaddedbase64-${version}" +build_style=python-module +pycompile_module="unpaddedbase64.py" +hostmakedepends="python-setuptools python3-setuptools" +short_desc="Python2 encode and decode Base64 without '=' padding" +maintainer="Adam Beckmeyer " +license="Apache-2.0" +homepage="https://pypi.org/project/unpaddedbase64/" +distfiles="https://github.com/matrix-org/python-unpaddedbase64/archive/v${version}.tar.gz" +checksum=4e3fc1883e75f70380e903e858ffdcb77b85624213ab9559c5f1e5917491bb73 + +python3-unpaddedbase64_package() { + pycompile_module="unpaddedbase64.py" + depends="python3" + short_desc="${short_desc/Python2/Python3}" + pkg_install() { + vmove "usr/lib/python3*" + } +} diff --git a/srcpkgs/python3-unpaddedbase64 b/srcpkgs/python3-unpaddedbase64 new file mode 120000 index 00000000000..03c873c1f4f --- /dev/null +++ b/srcpkgs/python3-unpaddedbase64 @@ -0,0 +1 @@ +python-unpaddedbase64 \ No newline at end of file diff --git a/srcpkgs/python3-unpaddedbase64/template b/srcpkgs/python3-unpaddedbase64/template deleted file mode 100644 index 37df2c1d642..00000000000 --- a/srcpkgs/python3-unpaddedbase64/template +++ /dev/null @@ -1,16 +0,0 @@ -# Template file for 'python3-unpaddedbase64' -pkgname=python3-unpaddedbase64 -version=1.1.0 -revision=1 -archs=noarch -wrksrc="python-unpaddedbase64-${version}" -build_style=python3-module -pycompile_module="unpaddedbase64.py" -hostmakedepends="python3-setuptools" -depends="python3" -short_desc="Encode and decode Base64 without '=' padding" -maintainer="Orphaned " -license="Apache-2.0" -homepage="https://pypi.org/project/unpaddedbase64/" -distfiles="https://github.com/matrix-org/python-unpaddedbase64/archive/v${version}.tar.gz" -checksum=4e3fc1883e75f70380e903e858ffdcb77b85624213ab9559c5f1e5917491bb73 From ffbcfd6f7e11db13b956e0056d02cfcb7c5fc151 Mon Sep 17 00:00:00 2001 From: Adam Beckmeyer Date: Mon, 14 Oct 2019 11:05:02 -0400 Subject: [PATCH 4/8] New package: python-matrix-nio-0.6 Required dependency of pantalaimon --- srcpkgs/python-matrix-nio/template | 35 ++++++++++++++++++++++++++++++ srcpkgs/python3-matrix-nio | 1 + 2 files changed, 36 insertions(+) create mode 100644 srcpkgs/python-matrix-nio/template create mode 120000 srcpkgs/python3-matrix-nio diff --git a/srcpkgs/python-matrix-nio/template b/srcpkgs/python-matrix-nio/template new file mode 100644 index 00000000000..b53ce1cad95 --- /dev/null +++ b/srcpkgs/python-matrix-nio/template @@ -0,0 +1,35 @@ +# Template file for 'python-matrix-nio' +pkgname=python-matrix-nio +version=0.6 +revision=1 +archs=noarch +wrksrc="matrix-nio-${version}" +build_style=python-module +pycompile_module="nio" +hostmakedepends="python-setuptools python3-setuptools" +depends="python-attrs python-future python-typing python-h11 python-hyper-h2 + python-logbook python-jsonschema python-unpaddedbase64 python-pycryptodome + olm-python python-peewee python-cachetools python-atomicwrites" +short_desc="Python2 matrix.org client library designed without builtin io" +maintainer="Adam Beckmeyer " +license="ISC" +homepage="https://github.com/poljar/matrix-nio" +distfiles="${homepage}/archive/${version}.tar.gz" +checksum=ce1a95d52376c8e30c7c546b39d2d5d7ff5ec09408af911ed0a64452619fd4a4 + +post_install() { + vlicense LICENSE.md +} + +python3-matrix-nio_package() { + pycompile_module="nio" + depends="python3-attrs python3-future python3-aiohttp python3-h11 python3-hyper-h2 + python3-logbook python3-jsonschema python3-unpaddedbase64 python3-pycryptodome + olm-python3 python3-peewee python3-cachetools python3-atomicwrites + python3" + short_desc="${short_desc/Python2/Python3}" + pkg_install() { + vmove "usr/lib/python3*" + vlicense LICENSE.md + } +} diff --git a/srcpkgs/python3-matrix-nio b/srcpkgs/python3-matrix-nio new file mode 120000 index 00000000000..62e2cafd2fb --- /dev/null +++ b/srcpkgs/python3-matrix-nio @@ -0,0 +1 @@ +python-matrix-nio \ No newline at end of file From 1aa16cef83202448fd04bce2dbf1a0662d2534fd Mon Sep 17 00:00:00 2001 From: Adam Beckmeyer Date: Mon, 14 Oct 2019 11:23:27 -0400 Subject: [PATCH 5/8] python3-hyper-h2: fix dependencies --- srcpkgs/python-hyper-h2/template | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/srcpkgs/python-hyper-h2/template b/srcpkgs/python-hyper-h2/template index 5dcf7ed1c4d..69f78554544 100644 --- a/srcpkgs/python-hyper-h2/template +++ b/srcpkgs/python-hyper-h2/template @@ -1,7 +1,7 @@ # Template file for 'python-hyper-h2' pkgname=python-hyper-h2 version=3.1.0 -revision=1 +revision=2 archs=noarch wrksrc="hyper-h2-${version}" build_style=python-module @@ -23,7 +23,7 @@ python3-hyper-h2_package() { archs=noarch pycompile_module="h2" short_desc="${short_desc/Python2/Python3}" - depends="${depends/python/python3}" + depends="python3 python3-hpack python3-hyperframe" pkg_install() { vmove "usr/lib/python3*" } From 1da3a7cac0131e387ec46e99394e2beba45060ba Mon Sep 17 00:00:00 2001 From: Adam Beckmeyer Date: Mon, 14 Oct 2019 13:45:11 -0400 Subject: [PATCH 6/8] New package: python3-notify2-0.3.1 Dependency of pantalaimon --- srcpkgs/python3-notify2/template | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 srcpkgs/python3-notify2/template diff --git a/srcpkgs/python3-notify2/template b/srcpkgs/python3-notify2/template new file mode 100644 index 00000000000..56b1d31d894 --- /dev/null +++ b/srcpkgs/python3-notify2/template @@ -0,0 +1,18 @@ +# Template file for 'python3-notify2' +pkgname=python3-notify2 +version=0.3.1 +revision=1 +archs=noarch +wrksrc="notify2-${version}" +build_style=python3-module +pycompile_module="notify2.py" +short_desc="Python3 pure python reimplimentation of notify-python" +maintainer="Adam Beckmeyer " +license="BSD-2-Clause" +homepage="https://notify2.readthedocs.org" +distfiles="${PYPI_SITE}/n/notify2/notify2-${version}.tar.gz" +checksum=33fa108d50c42f3cd3407cc437518ad3f6225d1bb237011f16393c9dd3ce197d + +post_install() { + vlicense LICENSE +} From d5e0c704385dd5f9cfeafc3bd6f2a20ac8b8a6c4 Mon Sep 17 00:00:00 2001 From: Adam Beckmeyer Date: Mon, 14 Oct 2019 13:53:26 -0400 Subject: [PATCH 7/8] New package: python3-pydbus-0.6.0 Dependency of pantalaimon --- srcpkgs/python3-pydbus/template | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 srcpkgs/python3-pydbus/template diff --git a/srcpkgs/python3-pydbus/template b/srcpkgs/python3-pydbus/template new file mode 100644 index 00000000000..f6500992668 --- /dev/null +++ b/srcpkgs/python3-pydbus/template @@ -0,0 +1,15 @@ +# Template file for 'python3-pydbus' +pkgname=python3-pydbus +version=0.6.0 +revision=1 +wrksrc="pydbus-${version}" +archs=noarch +build_style=python3-module +pycompile_module="pydbus" +hostmakedepends="python3-setuptools" +short_desc="Python3 pythonic dbus library" +maintainer="Adam Beckmeyer " +license="LGPL-2.1-or-later" +homepage="https://github.com/LEW21/pydbus" +distfiles="${homepage}/archive/v${version}.tar.gz" +checksum=dacdf0498a831c8b43a4f3d985d64f99f3093a8aaf4e2ea99981c30fdf1a42da From 293c400c368779f5c5309c943bf6a5a8d4aebdac Mon Sep 17 00:00:00 2001 From: Adam Beckmeyer Date: Mon, 14 Oct 2019 14:02:04 -0400 Subject: [PATCH 8/8] New package: pantalaimon-0.2 --- srcpkgs/pantalaimon/template | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 srcpkgs/pantalaimon/template diff --git a/srcpkgs/pantalaimon/template b/srcpkgs/pantalaimon/template new file mode 100644 index 00000000000..645447ee0a1 --- /dev/null +++ b/srcpkgs/pantalaimon/template @@ -0,0 +1,18 @@ +# Template file for 'pantalaimon' +pkgname=pantalaimon +version=0.2 +revision=1 +archs=noarch +build_style=python3-module +pycompile_module="pantalaimon" +hostmakedepends="python3-setuptools" +depends="python3-attrs python3-aiohttp python3-appdirs python3-click + python3-keyring python3-logbook python3-peewee python3-janus + python3-prompt_toolkit python3-matrix-nio + python3-dbus python3-gobject python3-pydbus python3-notify2" +short_desc="Proxy daemon for matrix.org clients supporting end-to-end encryption" +maintainer="Adam Beckmeyer " +license="Apache-2.0" +homepage="https://github.com/matrix-org/pantalaimon" +distfiles="${homepage}/archive/${version}.tar.gz" +checksum=30eb448eacf6c02078bd3c58513bc426ec09fa9930833e711270eaa8abc13756