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-04-07 10:41:29 +0300 committer: kx <kx@radix.pro> 2023-04-07 10:41:29 +0300 commit: c704b3ba183f3417abcc1c81d4738129df0330d9 parent: 293cb571e521af88e2d5fb77490653c054d2a3b7
Commit Summary:
Python
Diffstat:
10 files changed, 369 insertions, 15 deletions
diff --git a/packages/d/Makefile b/packages/d/Makefile
index b436c87..4a06b6b 100644
--- a/packages/d/Makefile
+++ b/packages/d/Makefile
@@ -4,21 +4,26 @@
 # $ tree -fid .
 #
 
-SUBDIRS := check        \
-           cmake        \
-           flex         \
-           git          \
-           intltool     \
-           llvm         \
-           mercurial    \
-           meson        \
-           ninja        \
-           orc          \
-           perl         \
-           perl-cross   \
-           perl-modules \
-           pike         \
-           pkg-config
+SUBDIRS := check          \
+           cmake          \
+           flex           \
+           git            \
+           intltool       \
+           llvm           \
+           mercurial      \
+           meson          \
+           ninja          \
+           orc            \
+           perl           \
+           perl-cross     \
+           perl-modules   \
+           pike           \
+           pkg-config     \
+           python-modules \
+           python2        \
+           python2-doc    \
+           python3        \
+           python3-doc
 
 
 all-recursive downloads_clean-recursive:
diff --git a/packages/d/python-modules/Makefile b/packages/d/python-modules/Makefile
new file mode 100644
index 0000000..9ecf6cc
--- /dev/null
+++ b/packages/d/python-modules/Makefile
@@ -0,0 +1,27 @@
+
+#
+# Following command helps to cheate SUBDIRS list:
+# $ tree -fid .
+#
+
+SUBDIRS := m2crypto   \
+           pip        \
+           setuptools \
+           wheel
+
+
+all-recursive downloads_clean-recursive:
+	@set fnord $(MAKEFLAGS); amf=$$2; \
+	target=`echo $@ | sed s/-recursive//`; \
+	list='$(SUBDIRS)'; for subdir in $$list; do \
+	  echo "Making $$target in $$subdir"; \
+	  local_target="$$target"; \
+	  (cd $$subdir && $(MAKE) $$fnord $$local_target) \
+	   || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
+	done; test -z "$$fail"
+
+all: all-recursive
+
+downloads_clean: downloads_clean-recursive
+
+.PHONY: all-recursive downloads_clean-recursive all downloads_clean
diff --git a/packages/d/python-modules/m2crypto/Makefile b/packages/d/python-modules/m2crypto/Makefile
new file mode 100644
index 0000000..4000cf3
--- /dev/null
+++ b/packages/d/python-modules/m2crypto/Makefile
@@ -0,0 +1,65 @@
+#
+# Project Home:
+# ============
+# https://gitlab.com/m2crypto/m2crypto
+#
+# Downloads:
+# =========
+# https://pypi.org/project/M2Crypto/#files
+#
+# GitLab:
+# ======
+# https://gitlab.com/m2crypto/m2crypto.git
+#
+
+url         = https://gitlab.com/m2crypto
+
+repo_name   = m2crypto
+
+versions    = 0.38.0
+
+suffix      = tar.gz
+
+TAGS        = $(versions)
+
+git_repo    = .git_clone
+tarballs    = $(addsuffix .$(suffix), $(addprefix $(repo_name)-, $(versions)))
+sha1s       = $(addsuffix .sha1sum, $(tarballs))
+
+TARGETS = repository_clean
+
+all: $(TARGETS)
+
+.PHONY: downloads_clean repository_clean
+
+$(git_repo):
+	@echo -e "\n======= Clone $(repo_name).git repository =======\n"
+	@rm -rf $(repo_name)
+	@git clone $(url)/$(repo_name).git $(repo_name)
+	@touch $@
+
+
+$(tarballs): $(git_repo)
+	@for version in $(TAGS) ; do \
+	  tag=`echo $$version`; \
+	  if [ ! -f $(repo_name)-$$version.$(suffix) ]; then \
+	    echo -e "\n======= Creating '$(repo_name)-$$version.$(suffix)' snapshot =======" ; \
+	    ( cd $(repo_name) && \
+	      git archive --format=tar --prefix=$(repo_name)-$$version/ $$tag | \
+	      gzip >../$(repo_name)-$$version.$(suffix) ) ; \
+	  fi ; \
+	done
+
+$(sha1s): %.$(suffix).sha1sum : %.$(suffix)
+	@for tarball in $< ; do \
+	  echo -e "\n======= Calculation the '$$tarball' sha1sum =======" ; \
+	  sha1sum --binary $$tarball > $$tarball.sha1sum ; \
+	done
+
+repository_clean: $(sha1s)
+	@echo -e "\n======= Remove cloned $(repo_name).git repository =======\n"
+	@rm -rf $(git_repo) $(repo_name)
+
+downloads_clean:
+	@rm -rf $(tarballs) $(sha1s)
+	@rm -rf $(git_repo) $(repo_name)
diff --git a/packages/d/python-modules/pip/Makefile b/packages/d/python-modules/pip/Makefile
new file mode 100644
index 0000000..5cffa26
--- /dev/null
+++ b/packages/d/python-modules/pip/Makefile
@@ -0,0 +1,67 @@
+#
+# Project Home:
+# ============
+# https://pip.pypa.io
+#
+# Downloads:
+# =========
+# https://pypi.python.org/pypi/pip
+# https://github.com/pypa/pip/releases
+#
+# GitGub:
+# =========
+# https://github.com/pypa/pip.git
+#
+
+url         = https://github.com/pypa
+
+repo_name   = pip
+
+versions    = 7.1.2 8.1.1 9.0.1 19.2.3 19.3.1 20.1 20.3
+versions   += 20.3.3 21.2.4 21.3.1 22.2.2
+
+suffix      = tar.gz
+
+TAGS        = $(versions)
+
+git_repo    = .git_clone
+tarballs    = $(addsuffix .$(suffix), $(addprefix $(repo_name)-, $(versions)))
+sha1s       = $(addsuffix .sha1sum, $(tarballs))
+
+TARGETS = repository_clean
+
+all: $(TARGETS)
+
+.PHONY: downloads_clean repository_clean
+
+$(git_repo):
+	@echo -e "\n======= Clone $(repo_name).git repository =======\n"
+	@rm -rf $(repo_name)
+	@git clone $(url)/$(repo_name).git $(repo_name)
+	@touch $@
+
+
+$(tarballs): $(git_repo)
+	@for version in $(TAGS) ; do \
+	  tag=`echo $$version`; \
+	  if [ ! -f $(repo_name)-$$version.$(suffix) ]; then \
+	    echo -e "\n======= Creating '$(repo_name)-$$version.$(suffix)' snapshot =======" ; \
+	    ( cd $(repo_name) && \
+	      git archive --format=tar --prefix=$(repo_name)-$$version/ $$tag | \
+	      gzip >../$(repo_name)-$$version.$(suffix) ) ; \
+	  fi ; \
+	done
+
+$(sha1s): %.$(suffix).sha1sum : %.$(suffix)
+	@for tarball in $< ; do \
+	  echo -e "\n======= Calculation the '$$tarball' sha1sum =======" ; \
+	  sha1sum --binary $$tarball > $$tarball.sha1sum ; \
+	done
+
+repository_clean: $(sha1s)
+	@echo -e "\n======= Remove cloned $(repo_name).git repository =======\n"
+	@rm -rf $(git_repo) $(repo_name)
+
+downloads_clean:
+	@rm -rf $(tarballs) $(sha1s)
+	@rm -rf $(git_repo) $(repo_name)
diff --git a/packages/d/python-modules/setuptools/Makefile b/packages/d/python-modules/setuptools/Makefile
new file mode 100644
index 0000000..321427f
--- /dev/null
+++ b/packages/d/python-modules/setuptools/Makefile
@@ -0,0 +1,67 @@
+#
+# Project Home:
+# ============
+# https://pypi.python.org/pypi/setuptools
+#
+# Downloads:
+# =========
+# https://github.com/pypa/setuptools/releases
+#
+# GitHub:
+# =========
+# https://github.com/pypa/setuptools.git
+#
+
+url         = https://github.com/pypa
+
+repo_name   = setuptools
+
+versions    = 20.10.1 38.2.4 41.2.0 41.6.0 44.0.0
+versions   += 51.1.0 58.1.0 59.2.0
+versions   += 65.5.0
+
+suffix      = tar.gz
+
+TAGS        = $(versions)
+
+git_repo    = .git_clone
+tarballs    = $(addsuffix .$(suffix), $(addprefix $(repo_name)-, $(versions)))
+sha1s       = $(addsuffix .sha1sum, $(tarballs))
+
+TARGETS = repository_clean
+
+all: $(TARGETS)
+
+.PHONY: downloads_clean repository_clean
+
+$(git_repo):
+	@echo -e "\n======= Clone $(repo_name).git repository =======\n"
+	@rm -rf $(repo_name)
+	@git clone $(url)/$(repo_name).git $(repo_name)
+	@touch $@
+
+
+$(tarballs): $(git_repo)
+	@for version in $(TAGS) ; do \
+	  tag=`echo $$version`; \
+	  if [ ! -f $(repo_name)-$$version.$(suffix) ]; then \
+	    echo -e "\n======= Creating '$(repo_name)-$$version.$(suffix)' snapshot =======" ; \
+	    ( cd $(repo_name) && \
+	      git archive --format=tar --prefix=$(repo_name)-$$version/ v$$tag | \
+	      gzip >../$(repo_name)-$$version.$(suffix) ) ; \
+	  fi ; \
+	done
+
+$(sha1s): %.$(suffix).sha1sum : %.$(suffix)
+	@for tarball in $< ; do \
+	  echo -e "\n======= Calculation the '$$tarball' sha1sum =======" ; \
+	  sha1sum --binary $$tarball > $$tarball.sha1sum ; \
+	done
+
+repository_clean: $(sha1s)
+	@echo -e "\n======= Remove cloned $(repo_name).git repository =======\n"
+	@rm -rf $(git_repo) $(repo_name)
+
+downloads_clean:
+	@rm -rf $(tarballs) $(sha1s)
+	@rm -rf $(git_repo) $(repo_name)
diff --git a/packages/d/python-modules/wheel/Makefile b/packages/d/python-modules/wheel/Makefile
new file mode 100644
index 0000000..8eec29a
--- /dev/null
+++ b/packages/d/python-modules/wheel/Makefile
@@ -0,0 +1,66 @@
+#
+# Project Home:
+# ============
+# https://pypi.python.org/pypi/wheel
+# https://bitbucket.org/pypa/wheel
+#
+# BitBucket.org:
+# =============
+# hg clone https://bitbucket.org/pypa/wheel
+#
+# GitGub:
+# =========
+# https://github.com/pypa/wheel.git
+#
+
+url         = https://github.com/pypa
+
+repo_name   = wheel
+
+versions    = 0.29.0 0.30.0 0.33.6 0.34.2 0.36.2 0.37.0 0.37.1
+
+suffix      = tar.xz
+
+TAGS        = $(versions)
+
+git_repo    = .git_clone
+tarballs    = $(addsuffix .$(suffix), $(addprefix $(repo_name)-, $(versions)))
+sha1s       = $(addsuffix .sha1sum, $(tarballs))
+
+TARGETS = repository_clean
+
+all: $(TARGETS)
+
+.PHONY: downloads_clean repository_clean
+
+$(git_repo):
+	@echo -e "\n======= Clone $(repo_name).git repository =======\n"
+	@rm -rf $(repo_name)
+	@git clone $(url)/$(repo_name).git $(repo_name)
+	@touch $@
+
+
+$(tarballs): $(git_repo)
+	@for version in $(TAGS) ; do \
+	  tag=`echo $$version`; \
+	  if [ ! -f $(repo_name)-$$version.$(suffix) ]; then \
+	    echo -e "\n======= Creating '$(repo_name)-$$version.$(suffix)' snapshot =======" ; \
+	    ( cd $(repo_name) && \
+	      git archive --format=tar --prefix=$(repo_name)-$$version/ $$tag | \
+	      xz >../$(repo_name)-$$version.$(suffix) ) ; \
+	  fi ; \
+	done
+
+$(sha1s): %.$(suffix).sha1sum : %.$(suffix)
+	@for tarball in $< ; do \
+	  echo -e "\n======= Calculation the '$$tarball' sha1sum =======" ; \
+	  sha1sum --binary $$tarball > $$tarball.sha1sum ; \
+	done
+
+repository_clean: $(sha1s)
+	@echo -e "\n======= Remove cloned $(repo_name).git repository =======\n"
+	@rm -rf $(git_repo) $(repo_name)
+
+downloads_clean:
+	@rm -rf $(tarballs) $(sha1s)
+	@rm -rf $(git_repo) $(repo_name)
diff --git a/packages/d/python2-doc/Makefile b/packages/d/python2-doc/Makefile
new file mode 100644
index 0000000..37de443
--- /dev/null
+++ b/packages/d/python2-doc/Makefile
@@ -0,0 +1,41 @@
+#
+# Project Home:
+# ============
+# https://www.python.org
+#
+# Downloads:
+# =========
+# http://docs.python.org/2/archives
+#
+
+url         = https://docs.python.org/ftp/python/doc
+
+versions    = 2.7.6 2.7.11 2.7.12 2.7.13 2.7.14 2.7.15 2.7.16 2.7.18
+
+pkgname     = python
+suffix      = tar.bz2
+formats     = text html pdf-a4
+
+tarballs    = $(foreach format, $(formats), $(addsuffix -docs-$(format).$(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 \
+	  version=`echo $$tarball | sed 's/\([a-zA-Z-]*\)\([0-9][.][0-9]*[.][0-9]*\)\([\-].*\)/\2/'` ; \
+	  wget -N $(url)/$$version/$$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)
diff --git a/packages/d/python2/Makefile b/packages/d/python2/Makefile
new file mode 100644
index 0000000..e00a480
--- /dev/null
+++ b/packages/d/python2/Makefile
@@ -0,0 +1,40 @@
+#
+# Project Home:
+# ============
+# https://www.python.org
+#
+# Downloads:
+# =========
+# https://www.python.org/ftp/python
+#
+
+url         = https://www.python.org/ftp/python
+
+versions    = 2.7.6 2.7.11 2.7.12 2.7.13 2.7.14 2.7.15 2.7.16 2.7.18
+
+pkgname     = Python
+suffix      = tar.xz
+
+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 \
+	  version=`echo $$tarball | sed 's/\([a-zA-Z-]*\)\([0-9][.0-9][0-9][.0-9]*\)\([\.].*\)/\2/'` ; \
+	  wget -N $(url)/$$version/$$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)
diff --git a/packages/d/python3-doc/Makefile b/packages/d/python3-doc/Makefile
new file mode 100644
index 0000000..fd42784
--- /dev/null
+++ b/packages/d/python3-doc/Makefile
@@ -0,0 +1,42 @@
+#
+# Project Home:
+# ============
+# https://www.python.org
+#
+# Downloads:
+# =========
+# https://www.python.org/3.X/archives
+#
+
+url         = https://www.python.org/ftp/python/doc
+
+versions    = 3.5.1 3.5.4 3.6.2 3.6.4 3.7.2 3.7.4 3.8.2 3.8.7 3.9.1 3.9.7 3.9.9
+versions   += 3.10.0 3.10.8
+
+pkgname     = python
+suffix      = tar.bz2
+formats     = text html pdf-a4
+
+tarballs    = $(foreach format, $(formats), $(addsuffix -docs-$(format).$(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 \
+	  version=`echo $$tarball | sed 's/\([a-zA-Z-]*\)\([0-9]*[.][0-9]*[.][0-9]*\)\([\-].*\)/\2/'` ; \
+	  wget -N $(url)/$$version/$$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)
diff --git a/packages/d/python3/Makefile b/packages/d/python3/Makefile
new file mode 100644
index 0000000..0398ad6
--- /dev/null
+++ b/packages/d/python3/Makefile
@@ -0,0 +1,41 @@
+#
+# Project Home:
+# ============
+# https://www.python.org
+#
+# Downloads:
+# =========
+# https://www.python.org/ftp/python
+#
+
+url         = https://www.python.org/ftp/python
+
+versions    = 3.4.4 3.5.1 3.6.2 3.6.4 3.7.2 3.7.4 3.8.2 3.8.7 3.9.1 3.9.7 3.9.9
+versions   += 3.10.0 3.10.8
+
+pkgname     = Python
+suffix      = tar.xz
+
+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 \
+	  version=`echo $$tarball | sed 's/\([a-zA-Z-]*\)\([0-9][.0-9][0-9][.0-9]*\)\([\.].*\)/\2/'` ; \
+	  wget -N $(url)/$$version/$$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)