From 39e41a987bec346c4f1eefcd39493d2324d16ce4 Mon Sep 17 00:00:00 2001 From: "Franc[e]sco" Date: Fri, 12 Jun 2020 02:09:08 +0200 Subject: [PATCH 1/8] New package: python3-html-sanitizer-1.9.1 --- srcpkgs/python3-html-sanitizer/template | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 srcpkgs/python3-html-sanitizer/template diff --git a/srcpkgs/python3-html-sanitizer/template b/srcpkgs/python3-html-sanitizer/template new file mode 100644 index 00000000000..7474119197b --- /dev/null +++ b/srcpkgs/python3-html-sanitizer/template @@ -0,0 +1,19 @@ +# Template file for 'python3-html-sanitizer' +pkgname=python3-html-sanitizer +version=1.9.1 +revision=1 +archs=noarch +wrksrc="${pkgname#*-}-${version}" +build_style=python3-module +hostmakedepends="python3-setuptools" +depends="python3" +short_desc="Allowlist-based HTML cleaner" +maintainer="Franc[e]sco " +license="BSD-3-Clause" +homepage="https://github.com/matthiask/html-sanitizer/" +distfiles="${PYPI_SITE}/h/${pkgname#*-}/${pkgname#*-}-${version}.tar.gz" +checksum=13c0aebe3ceff55540e37ee8717181ce314a8bedb92e1cb322be6455016a69d5 + +post_install() { + vlicense LICENSE +} From 05e354503a47c80ad1a74ed69a2dd23242cf7e55 Mon Sep 17 00:00:00 2001 From: "Franc[e]sco" Date: Fri, 12 Jun 2020 03:33:45 +0200 Subject: [PATCH 2/8] New package: python3-pymediainfo-4.2.1 --- srcpkgs/python3-pymediainfo/template | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 srcpkgs/python3-pymediainfo/template diff --git a/srcpkgs/python3-pymediainfo/template b/srcpkgs/python3-pymediainfo/template new file mode 100644 index 00000000000..d49af855fa0 --- /dev/null +++ b/srcpkgs/python3-pymediainfo/template @@ -0,0 +1,19 @@ +# Template file for 'python3-pymediainfo' +pkgname=python3-pymediainfo +version=4.2.1 +revision=1 +archs=noarch +wrksrc="${pkgname#*-}-${version}" +build_style=python3-module +hostmakedepends="python3-setuptools" +depends="python3 libmediainfo" +short_desc="Python wrapper for the mediainfo library" +maintainer="Franc[e]sco " +license="MIT" +homepage="https://pymediainfo.readthedocs.io/" +distfiles="${PYPI_SITE}/p/${pkgname#*-}/${pkgname#*-}-${version}.tar.gz" +checksum=392d99d6bf74046ebaa2f7036d92d5327611d27532a384540e9310a62b8be26d + +post_install() { + vlicense LICENSE +} From 63d74b0e54383842004a2a31dc8ea138f4dd39bb Mon Sep 17 00:00:00 2001 From: "Franc[e]sco" Date: Fri, 12 Jun 2020 05:29:14 +0200 Subject: [PATCH 3/8] New package: python3-pyotherside-1.5.9 --- srcpkgs/python3-pyotherside/template | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 srcpkgs/python3-pyotherside/template diff --git a/srcpkgs/python3-pyotherside/template b/srcpkgs/python3-pyotherside/template new file mode 100644 index 00000000000..82d14dfcf73 --- /dev/null +++ b/srcpkgs/python3-pyotherside/template @@ -0,0 +1,23 @@ +# Template file for 'python3-pyotherside' +pkgname=python3-pyotherside +version=1.5.9 +revision=1 +wrksrc="pyotherside-${version}" +build_style=qmake +hostmakedepends="pkg-config python3-devel + qt5-qmake qt5-quickcontrols2-devel qt5-declarative-devel qt5-svg-devel" +makedepends="${hostmakedepends/pkg-config/}" +short_desc="Asynchronous Python 3 Bindings for Qt 5" +maintainer="Franc[e]sco " +license="ISC" +homepage="https://thp.io/2011/pyotherside/" +distfiles="https://github.com/thp/pyotherside/archive/${version}.tar.gz" +checksum=189cb0b973e40fcb6b95fd51b0bcd6cc8494b514d49ffe966ec488cf05bbf51e + +if [ "$CROSS_BUILD" ]; then + configure_args="PYTHON_CONFIG=\"${XBPS_CROSS_BASE}/bin/python3-config\"" +fi + +post_install() { + vlicense LICENSE +} From 0b5af6fdec4d4e82c88ed588b9ffcfd6038e0fc9 Mon Sep 17 00:00:00 2001 From: "Franc[e]sco" Date: Fri, 12 Jun 2020 01:58:26 +0200 Subject: [PATCH 4/8] New package: python3-CairoSVG-2.4.2 --- srcpkgs/python3-CairoSVG/template | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 srcpkgs/python3-CairoSVG/template diff --git a/srcpkgs/python3-CairoSVG/template b/srcpkgs/python3-CairoSVG/template new file mode 100644 index 00000000000..303da315753 --- /dev/null +++ b/srcpkgs/python3-CairoSVG/template @@ -0,0 +1,15 @@ +# Template file for 'python3-CairoSVG' +pkgname=python3-CairoSVG +version=2.4.2 +revision=1 +archs=noarch +wrksrc="${pkgname#*-}-${version}" +build_style=python3-module +hostmakedepends="python3-setuptools" +depends="python3-cairocffi python3-cssselect2 python3-defusedxml python3-Pillow python3-tinycss2" +short_desc="Simple SVG Converter based on Cairo" +maintainer="Franc[e]sco " +license="LGPL-3.0-or-later" +homepage="https://cairosvg.org/" +distfiles="${PYPI_SITE}/C/CairoSVG/CairoSVG-${version}.tar.gz" +checksum=4e668f96653326780036ebb0a9ff2bb59a8443d7bcfc51a14aab77b57a8e67ad From edb3065a9a6be21e0e33748d8c6aba7265e91eea Mon Sep 17 00:00:00 2001 From: "Franc[e]sco" Date: Fri, 12 Jun 2020 01:51:01 +0200 Subject: [PATCH 5/8] New package: python3-tinycss2-1.0.2 --- srcpkgs/python3-tinycss2/template | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 srcpkgs/python3-tinycss2/template diff --git a/srcpkgs/python3-tinycss2/template b/srcpkgs/python3-tinycss2/template new file mode 100644 index 00000000000..56f2abbd962 --- /dev/null +++ b/srcpkgs/python3-tinycss2/template @@ -0,0 +1,20 @@ +# Template file for 'python3-tinycss2' +pkgname=python3-tinycss2 +version=1.0.2 +revision=1 +archs=noarch +wrksrc="${pkgname#*-}-${version}" +build_style=python3-module +hostmakedepends="python3-setuptools" +makedepends="python3-devel" +depends="python3-webencodings" +short_desc="Complete yet simple CSS parser for Python" +maintainer="mobinmob " +license="BSD-3-Clause" +homepage="https://tinycss2.readthedocs.io/en/latest/" +distfiles="${PYPI_SITE}/t/tinycss2/tinycss2-${version}.tar.gz" +checksum=6427d0e3faa0a5e0e8c9f6437e2de26148a7a197a8b0992789f23d9a802788cf + +post_install() { + vlicense LICENSE +} From 737b0f70f5b0bee3d15e4bc5866fb17f50f9d2e1 Mon Sep 17 00:00:00 2001 From: "Franc[e]sco" Date: Fri, 12 Jun 2020 00:59:00 +0200 Subject: [PATCH 6/8] New package: python3-blist-1.3.6 --- srcpkgs/python3-blist/template | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 srcpkgs/python3-blist/template diff --git a/srcpkgs/python3-blist/template b/srcpkgs/python3-blist/template new file mode 100644 index 00000000000..a00fb5aae9c --- /dev/null +++ b/srcpkgs/python3-blist/template @@ -0,0 +1,20 @@ +# Template file for 'python3-blist' +pkgname=python3-blist +version=1.3.6 +revision=1 +wrksrc="${pkgname#*-}-${version}" +build_style=python3-module +hostmakedepends="python3-devel python3-setuptools" +makedepends="python3-devel" +depends="python3" +short_desc="Replacement for the Python list with better performance" +maintainer="Franc[e]sco " +license="BSD-3-Clause" +homepage="https://pypi.org/project/blist/" +distfiles="https://github.com/DanielStutzbach/blist/archive/v${version}.tar.gz" +checksum=99f09df7a711fd1ed3fbcd80babf3e76e3c25c8a488a6dcdc543d61ebfde2bae +# NOTE: the pypi tarball has broken permission, do not use it + +post_install() { + vlicense LICENSE +} From 2425ab860122627f6b370ed248702639881ba6f8 Mon Sep 17 00:00:00 2001 From: "Franc[e]sco" Date: Fri, 12 Jun 2020 01:28:54 +0200 Subject: [PATCH 7/8] New package: python3-cssselect2-0.3.0 --- srcpkgs/python3-cssselect2/template | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 srcpkgs/python3-cssselect2/template diff --git a/srcpkgs/python3-cssselect2/template b/srcpkgs/python3-cssselect2/template new file mode 100644 index 00000000000..61c5ddcac90 --- /dev/null +++ b/srcpkgs/python3-cssselect2/template @@ -0,0 +1,19 @@ +# Template file for 'python3-cssselect2' +pkgname=python3-cssselect2 +version=0.3.0 +revision=1 +archs=noarch +wrksrc="${pkgname#*-}-${version}" +build_style=python3-module +hostmakedepends="python3-setuptools" +depends="python" +short_desc="CSS selectors for Python2 ElementTree" +maintainer="Franc[e]sco " +license="BSD-3-Clause" +homepage="https://cssselect2.readthedocs.io/" +distfiles="${PYPI_SITE}/c/${pkgname#*-}/${pkgname#*-}-${version}.tar.gz" +checksum=5c2716f06b5de93f701d5755a9666f2ee22cbcd8b4da8adddfc30095ffea3abc + +post_install() { + vlicense LICENSE +} From 4f6647445827255202b0eb3d7059ddce3709e49d Mon Sep 17 00:00:00 2001 From: "Franc[e]sco" Date: Fri, 12 Jun 2020 05:53:02 +0200 Subject: [PATCH 8/8] New package: matrix-mirage-0.5.2 --- srcpkgs/matrix-mirage/template | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 srcpkgs/matrix-mirage/template diff --git a/srcpkgs/matrix-mirage/template b/srcpkgs/matrix-mirage/template new file mode 100644 index 00000000000..c4bca96e849 --- /dev/null +++ b/srcpkgs/matrix-mirage/template @@ -0,0 +1,27 @@ +# Template file for 'matrix-mirage' +pkgname=matrix-mirage +version=0.6.0 +revision=1 +wrksrc="mirage-${version}" +build_style=qmake +hostmakedepends="python3-setuptools qt5-qmake qt5-quickcontrols2-devel qt5-declarative-devel" +makedepends="qt5-quickcontrols2-devel qt5-declarative-devel libXScrnSaver-devel" +depends="python3 python3-Pillow python3-aiofiles python3-appdirs python3-blist python3-filetype + python3-html-sanitizer python3-lxml python3-matrix-nio python3-mistune python3-pymediainfo + python3-pyotherside python3-peewee python3-CairoSVG qt5-graphicaleffects" +short_desc="Qt/QML+Python Matrix client for encrypted and decentralized chat" +maintainer="Franc[e]sco " +license="GPL-3.0-or-later" +homepage="https://github.com/mirukana/mirage" +_hsluv_commit=9e9be32d6010cad484a7b12b1a3d19c6cf4c1353 +distfiles="https://github.com/mirukana/mirage/archive/v${version}.tar.gz + https://github.com/hsluv/hsluv-c/archive/${_hsluv_commit}.tar.gz" +checksum="8dee7a54b58ee244203b2e2c4a52596459f52afcd5f596af4cc614d9a8d1402f + 73bbdcec587339d6b385ab2da4d43d486db578b2521a9b527d2ac9110f5000c1" + +post_extract() { + mv "${XBPS_BUILDDIR}/hsluv-c-${_hsluv_commit}/"* submodules/hsluv-c/ + # binary name conflicts with mirage the image viewer + sed -i 's/TARGET[[:space:]]*=[[:space:]]*mirage/TARGET = matrix-mirage/g' mirage.pro + sed -i 's/Exec=mirage/Exec=matrix-mirage/g' extra/linux/mirage.desktop +}