Radix cross Linux 3pp sources

RcL sources – is a tree of Third Party and Radix source tarballs

343 Commits   0 Branches   0 Tags
author: kx <kx@radix.pro> 2023-06-01 17:05:53 +0300 committer: kx <kx@radix.pro> 2023-06-01 17:05:53 +0300 commit: 798fd4a75afd6b77e572031c357740d86a6f29e6 parent: 6232200eafbbb13973c858a2318550d4887aea71
Commit Summary:
PyQt5-5.15.9
Diffstat:
2 files changed, 31 insertions, 0 deletions
diff --git a/packages/x/Makefile b/packages/x/Makefile
index b1454ab..1649cec 100644
--- a/packages/x/Makefile
+++ b/packages/x/Makefile
@@ -50,6 +50,7 @@ SUBDIRS := Vulkan               \
            obconf               \
            openbox              \
            pidgin               \
+           pyqt5                \
            pyxdg                \
            qt5                  \
            startup-notification \
diff --git a/packages/x/pyqt5/Makefile b/packages/x/pyqt5/Makefile
new file mode 100644
index 0000000..55be977
--- /dev/null
+++ b/packages/x/pyqt5/Makefile
@@ -0,0 +1,39 @@
+#
+# Project Home:
+# ============
+#  https://riverbankcomputing.com/
+#
+# Search PyPI:
+# ===========
+#  https://pypi.org/project/PyQt5/
+#  https://pypi.org/project/PyQt5/#files
+#
+
+url         = https://ftp.radix.pro/3pp/python-packages/pyqt5
+
+versions    = 5.15.9
+pkgname     = PyQt5
+suffix      = tar.gz
+
+tarballs    = $(addsuffix .$(suffix), $(addprefix $(pkgname)-, $(versions)))
+sha1s       = $(addsuffix .sha1sum, $(tarballs))
+
+
+all: $(tarballs) $(sha1s)
+
+.PHONY: downloads_clean
+
+$(tarballs):
+	@echo -e "\n======= Downloading source tarballs =======\n"
+	@for tarball in $(tarballs) ; do \
+	  wget -N $(url)/$$tarball ; \
+	done
+
+$(sha1s): %.$(suffix).sha1sum : %.$(suffix)
+	@for tarball in $< ; do \
+	  echo -e "\n======= Calculation the '$$tarball' sha1sum =======\n" ; \
+	  sha1sum --binary $$tarball > $$tarball.sha1sum ; \
+	done
+
+downloads_clean:
+	@rm -rf $(tarballs) $(sha1s)