mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [PATCH 1/4] python3-lxml: new package
@ 2018-08-31 17:39 Artur Wiebe
  2018-08-31 17:39 ` [ptxdist] [PATCH 2/4] python3-pytz: " Artur Wiebe
                   ` (3 more replies)
  0 siblings, 4 replies; 8+ messages in thread
From: Artur Wiebe @ 2018-08-31 17:39 UTC (permalink / raw)
  To: ptxdist; +Cc: Artur Wiebe

Signed-off-by: Artur Wiebe <artur@4wiebe.de>
---
 ...-do-not-use-libdirs-from-xslt-config.patch | 31 +++++++++++
 patches/lxml-4.2.4/series                     |  1 +
 rules/python3-lxml.in                         | 14 +++++
 rules/python3-lxml.make                       | 51 +++++++++++++++++++
 4 files changed, 97 insertions(+)
 create mode 100644 patches/lxml-4.2.4/0001-do-not-use-libdirs-from-xslt-config.patch
 create mode 100644 patches/lxml-4.2.4/series
 create mode 100644 rules/python3-lxml.in
 create mode 100644 rules/python3-lxml.make

diff --git a/patches/lxml-4.2.4/0001-do-not-use-libdirs-from-xslt-config.patch b/patches/lxml-4.2.4/0001-do-not-use-libdirs-from-xslt-config.patch
new file mode 100644
index 000000000..c0cea0f16
--- /dev/null
+++ b/patches/lxml-4.2.4/0001-do-not-use-libdirs-from-xslt-config.patch
@@ -0,0 +1,31 @@
+From d20f79d5e0d04a243f8bda8ef49e59f8d3afaf9c Mon Sep 17 00:00:00 2001
+From: Artur Wiebe <artur@4wiebe.de>
+Date: Thu, 30 Aug 2018 10:46:22 +0200
+Subject: [PATCH] do not use libdirs from xslt-config
+
+---
+ setupinfo.py | 8 ++++----
+ 1 file changed, 4 insertions(+), 4 deletions(-)
+
+diff --git a/setupinfo.py b/setupinfo.py
+index bdac1d0..87feac7 100644
+--- a/setupinfo.py
++++ b/setupinfo.py
+@@ -292,10 +292,10 @@ def library_dirs(static_library_dirs):
+         return static_library_dirs
+     # filter them from xslt-config --libs
+     result = []
+-    possible_library_dirs = flags('libs')
+-    for possible_library_dir in possible_library_dirs:
+-        if possible_library_dir.startswith('-L'):
+-            result.append(possible_library_dir[2:])
++#    possible_library_dirs = flags('libs')
++#    for possible_library_dir in possible_library_dirs:
++#        if possible_library_dir.startswith('-L'):
++#            result.append(possible_library_dir[2:])
+     return result
+ 
+ def include_dirs(static_include_dirs):
+-- 
+2.18.0
+
diff --git a/patches/lxml-4.2.4/series b/patches/lxml-4.2.4/series
new file mode 100644
index 000000000..13f153f5b
--- /dev/null
+++ b/patches/lxml-4.2.4/series
@@ -0,0 +1 @@
+0001-do-not-use-libdirs-from-xslt-config.patch
diff --git a/rules/python3-lxml.in b/rules/python3-lxml.in
new file mode 100644
index 000000000..9206196f9
--- /dev/null
+++ b/rules/python3-lxml.in
@@ -0,0 +1,14 @@
+## SECTION=python3
+
+config PYTHON3_LXML
+	tristate
+	select PYTHON3
+	select HOST_PYTHON3_SETUPTOOLS
+	select LIBXSLT
+	prompt "lxml"
+	help
+	  lxml is a Pythonic, mature binding for the libxml2 and libxslt libraries.
+	  It provides safe and convenient access to these libraries
+	  using the ElementTree API.
+	  It extends the ElementTree API significantly to offer support for
+	  XPath, RelaxNG, XML Schema, XSLT, C14N and much more.
diff --git a/rules/python3-lxml.make b/rules/python3-lxml.make
new file mode 100644
index 000000000..70fadc372
--- /dev/null
+++ b/rules/python3-lxml.make
@@ -0,0 +1,51 @@
+# -*-makefile-*-
+#
+# Copyright (C) 2018 by Artur Wiebe <artur@4wiebe.de>
+#
+# See CREDITS for details about who has contributed to this project.
+#
+# For further information about the PTXdist project and license conditions
+# see the README file.
+#
+
+#
+# We provide this package
+#
+PACKAGES-$(PTXCONF_PYTHON3_LXML) += python3-lxml
+
+PYTHON3_LXML_VERSION	:= 4.2.4
+PYTHON3_LXML_MD5	:= 31239400ca4e130b69993bb3c14204b3
+PYTHON3_LXML		:= lxml-$(PYTHON3_LXML_VERSION)
+PYTHON3_LXML_SUFFIX	:= tar.gz
+PYTHON3_LXML_URL	:= https://pypi.python.org/packages/ca/63/139b710671c1655aed3b20c1e6776118c62e9f9311152f4c6031e12a0554/$(PYTHON3_LXML).$(PYTHON3_LXML_SUFFIX)\#md5=$(PYTHON3_LXML_MD5)
+PYTHON3_LXML_SOURCE	:= $(SRCDIR)/$(PYTHON3_LXML).$(PYTHON3_LXML_SUFFIX)
+PYTHON3_LXML_DIR	:= $(BUILDDIR)/$(PYTHON3_LXML)
+PYTHON3_LXML_LICENSE	:= BSD
+
+# ----------------------------------------------------------------------------
+# Prepare
+# ----------------------------------------------------------------------------
+
+PYTHON3_LXML_CONF_TOOL    := python3
+
+# ----------------------------------------------------------------------------
+# Target-Install
+# ----------------------------------------------------------------------------
+
+$(STATEDIR)/python3-lxml.targetinstall:
+	@$(call targetinfo)
+
+	@$(call install_init, python3-lxml)
+	@$(call install_fixup,python3-lxml,PRIORITY,optional)
+	@$(call install_fixup,python3-lxml,SECTION,base)
+	@$(call install_fixup,python3-lxml,AUTHOR,"Artur Wiebe <artur@4wiebe.de>")
+	@$(call install_fixup,python3-lxml,DESCRIPTION,missing)
+
+	@$(call install_glob, python3-lxml, 0, 0, -, \
+		/usr/lib/python$(PYTHON3_MAJORMINOR)/site-packages/lxml,, *.py)
+
+	@$(call install_finish,python3-lxml)
+
+	@$(call touch)
+
+# vim: syntax=make
-- 
2.18.0


_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [ptxdist] [PATCH 2/4] python3-pytz: new package
  2018-08-31 17:39 [ptxdist] [PATCH 1/4] python3-lxml: new package Artur Wiebe
@ 2018-08-31 17:39 ` Artur Wiebe
  2018-09-06  8:51   ` Michael Olbrich
  2018-08-31 17:39 ` [ptxdist] [PATCH 3/4] python3-dateutil: " Artur Wiebe
                   ` (2 subsequent siblings)
  3 siblings, 1 reply; 8+ messages in thread
From: Artur Wiebe @ 2018-08-31 17:39 UTC (permalink / raw)
  To: ptxdist; +Cc: Artur Wiebe

Signed-off-by: Artur Wiebe <artur@4wiebe.de>
---
 rules/python3-pytz.in   | 13 +++++++++++
 rules/python3-pytz.make | 51 +++++++++++++++++++++++++++++++++++++++++
 2 files changed, 64 insertions(+)
 create mode 100644 rules/python3-pytz.in
 create mode 100644 rules/python3-pytz.make

diff --git a/rules/python3-pytz.in b/rules/python3-pytz.in
new file mode 100644
index 000000000..d2aff7acf
--- /dev/null
+++ b/rules/python3-pytz.in
@@ -0,0 +1,13 @@
+## SECTION=python3
+
+config PYTHON3_PYTZ
+	tristate
+	select PYTHON3
+	select HOST_PYTHON3_SETUPTOOLS
+	prompt "pytz"
+	help
+	  pytz brings the Olson tz database into Python.
+	  This library allows accurate and cross platform timezone calculations
+	  using Python 2.4 or higher. It also solves the issue of ambiguous
+	  times at the end of daylight saving time, which you can read
+	  more about in the Python Library Reference (datetime.tzinfo).
diff --git a/rules/python3-pytz.make b/rules/python3-pytz.make
new file mode 100644
index 000000000..c054ab850
--- /dev/null
+++ b/rules/python3-pytz.make
@@ -0,0 +1,51 @@
+# -*-makefile-*-
+#
+# Copyright (C) 2018 by Artur Wiebe <artur@4wiebe.de>
+#
+# See CREDITS for details about who has contributed to this project.
+#
+# For further information about the PTXdist project and license conditions
+# see the README file.
+#
+
+#
+# We provide this package
+#
+PACKAGES-$(PTXCONF_PYTHON3_PYTZ) += python3-pytz
+
+PYTHON3_PYTZ_VERSION	:= 2018.5
+PYTHON3_PYTZ_MD5	:= 45409cbfa3927bdd2f3ee914dd5b1060
+PYTHON3_PYTZ		:= pytz-$(PYTHON3_PYTZ_VERSION)
+PYTHON3_PYTZ_SUFFIX	:= tar.gz
+PYTHON3_PYTZ_URL	:= https://pypi.python.org/packages/ca/a9/62f96decb1e309d6300ebe7eee9acfd7bccaeedd693794437005b9067b44/$(PYTHON3_PYTZ).$(PYTHON3_PYTZ_SUFFIX)\#md5=$(PYTHON3_PYTZ_MD5)
+PYTHON3_PYTZ_SOURCE	:= $(SRCDIR)/$(PYTHON3_PYTZ).$(PYTHON3_PYTZ_SUFFIX)
+PYTHON3_PYTZ_DIR	:= $(BUILDDIR)/$(PYTHON3_PYTZ)
+PYTHON3_PYTZ_LICENSE	:= MIT
+
+# ----------------------------------------------------------------------------
+# Prepare
+# ----------------------------------------------------------------------------
+
+PYTHON3_PYTZ_CONF_TOOL    := python3
+
+# ----------------------------------------------------------------------------
+# Target-Install
+# ----------------------------------------------------------------------------
+
+$(STATEDIR)/python3-pytz.targetinstall:
+	@$(call targetinfo)
+
+	@$(call install_init, python3-pytz)
+	@$(call install_fixup,python3-pytz,PRIORITY,optional)
+	@$(call install_fixup,python3-pytz,SECTION,base)
+	@$(call install_fixup,python3-pytz,AUTHOR,"Artur Wiebe <artur@4wiebe.de>")
+	@$(call install_fixup,python3-pytz,DESCRIPTION,missing)
+
+	@$(call install_glob, python3-pytz, 0, 0, -, \
+		/usr/lib/python$(PYTHON3_MAJORMINOR)/site-packages/pytz,, *.py)
+
+	@$(call install_finish,python3-pytz)
+
+	@$(call touch)
+
+# vim: syntax=make
-- 
2.18.0


_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [ptxdist] [PATCH 3/4] python3-dateutil: new package
  2018-08-31 17:39 [ptxdist] [PATCH 1/4] python3-lxml: new package Artur Wiebe
  2018-08-31 17:39 ` [ptxdist] [PATCH 2/4] python3-pytz: " Artur Wiebe
@ 2018-08-31 17:39 ` Artur Wiebe
  2018-08-31 17:39 ` [ptxdist] [PATCH 4/4] python3-opcua: " Artur Wiebe
  2018-09-04 13:33 ` [ptxdist] [PATCH 1/4] python3-lxml: " Roland Hieber
  3 siblings, 0 replies; 8+ messages in thread
From: Artur Wiebe @ 2018-08-31 17:39 UTC (permalink / raw)
  To: ptxdist; +Cc: Artur Wiebe

Signed-off-by: Artur Wiebe <artur@4wiebe.de>
---
 rules/python3-dateutil.in   | 11 ++++++++
 rules/python3-dateutil.make | 51 +++++++++++++++++++++++++++++++++++++
 2 files changed, 62 insertions(+)
 create mode 100644 rules/python3-dateutil.in
 create mode 100644 rules/python3-dateutil.make

diff --git a/rules/python3-dateutil.in b/rules/python3-dateutil.in
new file mode 100644
index 000000000..7d38bd32a
--- /dev/null
+++ b/rules/python3-dateutil.in
@@ -0,0 +1,11 @@
+## SECTION=python3
+
+config PYTHON3_DATEUTIL
+	tristate
+	select PYTHON3
+	select HOST_PYTHON3_SETUPTOOLS_SCM
+	select PYTHON3_SIX
+	prompt "dateutil"
+	help
+	  The dateutil module provides powerful extensions to the
+	  standard datetime module, available in Python.
diff --git a/rules/python3-dateutil.make b/rules/python3-dateutil.make
new file mode 100644
index 000000000..afed49c08
--- /dev/null
+++ b/rules/python3-dateutil.make
@@ -0,0 +1,51 @@
+# -*-makefile-*-
+#
+# Copyright (C) 2018 by Artur Wiebe <artur@4wiebe.de>
+#
+# See CREDITS for details about who has contributed to this project.
+#
+# For further information about the PTXdist project and license conditions
+# see the README file.
+#
+
+#
+# We provide this package
+#
+PACKAGES-$(PTXCONF_PYTHON3_DATEUTIL) += python3-dateutil
+
+PYTHON3_DATEUTIL_VERSION	:= 2.7.3
+PYTHON3_DATEUTIL_MD5		:= 175b7c1a3cc0cb01151eced07c61c0b8
+PYTHON3_DATEUTIL		:= python-dateutil-$(PYTHON3_DATEUTIL_VERSION)
+PYTHON3_DATEUTIL_SUFFIX		:= tar.gz
+PYTHON3_DATEUTIL_URL		:= https://pypi.python.org/packages/a0/b0/a4e3241d2dee665fea11baec21389aec6886655cd4db7647ddf96c3fad15/$(PYTHON3_DATEUTIL).$(PYTHON3_DATEUTIL_SUFFIX)\#md5=$(PYTHON3_DATEUTIL_MD5)
+PYTHON3_DATEUTIL_SOURCE		:= $(SRCDIR)/$(PYTHON3_DATEUTIL).$(PYTHON3_DATEUTIL_SUFFIX)
+PYTHON3_DATEUTIL_DIR		:= $(BUILDDIR)/$(PYTHON3_DATEUTIL)
+PYTHON3_DATEUTIL_LICENSE	:= Apache-2.0
+
+# ----------------------------------------------------------------------------
+# Prepare
+# ----------------------------------------------------------------------------
+
+PYTHON3_DATEUTIL_CONF_TOOL	:= python3
+
+# ----------------------------------------------------------------------------
+# Target-Install
+# ----------------------------------------------------------------------------
+
+$(STATEDIR)/python3-dateutil.targetinstall:
+	@$(call targetinfo)
+
+	@$(call install_init, python3-dateutil)
+	@$(call install_fixup,python3-dateutil,PRIORITY,optional)
+	@$(call install_fixup,python3-dateutil,SECTION,base)
+	@$(call install_fixup,python3-dateutil,AUTHOR,"Artur Wiebe <artur@4wiebe.de>")
+	@$(call install_fixup,python3-dateutil,DESCRIPTION,missing)
+
+	@$(call install_glob, python3-dateutil, 0, 0, -, \
+		/usr/lib/python$(PYTHON3_MAJORMINOR)/site-packages/dateutil,, *.py)
+
+	@$(call install_finish,python3-dateutil)
+
+	@$(call touch)
+
+# vim: syntax=make
-- 
2.18.0


_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [ptxdist] [PATCH 4/4] python3-opcua: new package
  2018-08-31 17:39 [ptxdist] [PATCH 1/4] python3-lxml: new package Artur Wiebe
  2018-08-31 17:39 ` [ptxdist] [PATCH 2/4] python3-pytz: " Artur Wiebe
  2018-08-31 17:39 ` [ptxdist] [PATCH 3/4] python3-dateutil: " Artur Wiebe
@ 2018-08-31 17:39 ` Artur Wiebe
  2018-09-04 13:33 ` [ptxdist] [PATCH 1/4] python3-lxml: " Roland Hieber
  3 siblings, 0 replies; 8+ messages in thread
From: Artur Wiebe @ 2018-08-31 17:39 UTC (permalink / raw)
  To: ptxdist; +Cc: Artur Wiebe

Signed-off-by: Artur Wiebe <artur@4wiebe.de>
---
 rules/python3-opcua.in   | 17 ++++++++++++++
 rules/python3-opcua.make | 51 ++++++++++++++++++++++++++++++++++++++++
 2 files changed, 68 insertions(+)
 create mode 100644 rules/python3-opcua.in
 create mode 100644 rules/python3-opcua.make

diff --git a/rules/python3-opcua.in b/rules/python3-opcua.in
new file mode 100644
index 000000000..0c0772247
--- /dev/null
+++ b/rules/python3-opcua.in
@@ -0,0 +1,17 @@
+## SECTION=python3
+
+config PYTHON3_OPCUA
+	tristate
+	select PYTHON3
+	select HOST_PYTHON3_SETUPTOOLS
+	select PYTHON3_DATEUTIL
+	select PYTHON3_PYTZ
+	select PYTHON3_LXML
+	prompt "OPC-UA"
+	help
+	  OPC Unified Architecture (OPC UA) is a machine to machine
+	  communication protocol for industrial automation
+	  developed by the OPC Foundation.
+	  https://github.com/FreeOpcUa/python-opcua
+
+
diff --git a/rules/python3-opcua.make b/rules/python3-opcua.make
new file mode 100644
index 000000000..9c542c908
--- /dev/null
+++ b/rules/python3-opcua.make
@@ -0,0 +1,51 @@
+# -*-makefile-*-
+#
+# Copyright (C) 2018 by Artur Wiebe <artur@4wiebe.de>
+#
+# See CREDITS for details about who has contributed to this project.
+#
+# For further information about the PTXdist project and license conditions
+# see the README file.
+#
+
+#
+# We provide this package
+#
+PACKAGES-$(PTXCONF_PYTHON3_OPCUA) += python3-opcua
+
+PYTHON3_OPCUA_VERSION	:= 0.98.5
+PYTHON3_OPCUA_MD5	:= 38c7fce58838117389e939157116c7c3
+PYTHON3_OPCUA		:= opcua-$(PYTHON3_OPCUA_VERSION)
+PYTHON3_OPCUA_SUFFIX	:= tar.gz
+PYTHON3_OPCUA_URL	:= https://pypi.python.org/packages/7f/a5/238323697fb928bfc7f64193f00cb1cc315ad407fd5411f0110930dfca7c/$(PYTHON3_OPCUA).$(PYTHON3_OPCUA_SUFFIX)\#md5=$(PYTHON3_OPCUA_MD5)
+PYTHON3_OPCUA_SOURCE	:= $(SRCDIR)/$(PYTHON3_OPCUA).$(PYTHON3_OPCUA_SUFFIX)
+PYTHON3_OPCUA_DIR	:= $(BUILDDIR)/$(PYTHON3_OPCUA)
+PYTHON3_OPCUA_LICENSE	:= LGPL-3.0-only
+
+# ----------------------------------------------------------------------------
+# Prepare
+# ----------------------------------------------------------------------------
+
+PYTHON3_OPCUA_CONF_TOOL    := python3
+
+# ----------------------------------------------------------------------------
+# Target-Install
+# ----------------------------------------------------------------------------
+
+$(STATEDIR)/python3-opcua.targetinstall:
+	@$(call targetinfo)
+
+	@$(call install_init, python3-opcua)
+	@$(call install_fixup,python3-opcua,PRIORITY,optional)
+	@$(call install_fixup,python3-opcua,SECTION,base)
+	@$(call install_fixup,python3-opcua,AUTHOR,"Artur Wiebe <artur@4wiebe.de>")
+	@$(call install_fixup,python3-opcua,DESCRIPTION,missing)
+
+	@$(call install_glob, python3-opcua, 0, 0, -, \
+		/usr/lib/python$(PYTHON3_MAJORMINOR)/site-packages/opcua,, *.py)
+
+	@$(call install_finish,python3-opcua)
+
+	@$(call touch)
+
+# vim: syntax=make
-- 
2.18.0


_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [ptxdist] [PATCH 1/4] python3-lxml: new package
  2018-08-31 17:39 [ptxdist] [PATCH 1/4] python3-lxml: new package Artur Wiebe
                   ` (2 preceding siblings ...)
  2018-08-31 17:39 ` [ptxdist] [PATCH 4/4] python3-opcua: " Artur Wiebe
@ 2018-09-04 13:33 ` Roland Hieber
  2018-09-04 16:03   ` [ptxdist] ?==?utf-8?q? ?==?utf-8?q? [PATCH 1/4]?==?utf-8?q? " Artur Wiebe
  3 siblings, 1 reply; 8+ messages in thread
From: Roland Hieber @ 2018-09-04 13:33 UTC (permalink / raw)
  To: Artur Wiebe; +Cc: ptxdist

On Fri, Aug 31, 2018 at 07:39:17PM +0200, Artur Wiebe wrote:
[...]
> diff --git a/rules/python3-lxml.make b/rules/python3-lxml.make
> new file mode 100644
> index 000000000..70fadc372
> --- /dev/null
> +++ b/rules/python3-lxml.make
> @@ -0,0 +1,51 @@
> +# -*-makefile-*-
> +#
> +# Copyright (C) 2018 by Artur Wiebe <artur@4wiebe.de>
> +#
> +# See CREDITS for details about who has contributed to this project.
> +#
> +# For further information about the PTXdist project and license conditions
> +# see the README file.
> +#
> +
> +#
> +# We provide this package
> +#
> +PACKAGES-$(PTXCONF_PYTHON3_LXML) += python3-lxml
> +
> +PYTHON3_LXML_VERSION	:= 4.2.4
> +PYTHON3_LXML_MD5	:= 31239400ca4e130b69993bb3c14204b3
> +PYTHON3_LXML		:= lxml-$(PYTHON3_LXML_VERSION)
> +PYTHON3_LXML_SUFFIX	:= tar.gz
> +PYTHON3_LXML_URL	:= https://pypi.python.org/packages/ca/63/139b710671c1655aed3b20c1e6776118c62e9f9311152f4c6031e12a0554/$(PYTHON3_LXML).$(PYTHON3_LXML_SUFFIX)\#md5=$(PYTHON3_LXML_MD5)

That URL looks unusual. What does the '\#md5=..." at the end do?
`ptxdist get` does not seem to use it at all. Same for the other
pypy packages in your series.

 - Roland

> +PYTHON3_LXML_SOURCE	:= $(SRCDIR)/$(PYTHON3_LXML).$(PYTHON3_LXML_SUFFIX)
> +PYTHON3_LXML_DIR	:= $(BUILDDIR)/$(PYTHON3_LXML)
> +PYTHON3_LXML_LICENSE	:= BSD
> +
> +# ----------------------------------------------------------------------------
> +# Prepare
> +# ----------------------------------------------------------------------------
> +
> +PYTHON3_LXML_CONF_TOOL    := python3
> +
> +# ----------------------------------------------------------------------------
> +# Target-Install
> +# ----------------------------------------------------------------------------
> +
> +$(STATEDIR)/python3-lxml.targetinstall:
> +	@$(call targetinfo)
> +
> +	@$(call install_init, python3-lxml)
> +	@$(call install_fixup,python3-lxml,PRIORITY,optional)
> +	@$(call install_fixup,python3-lxml,SECTION,base)
> +	@$(call install_fixup,python3-lxml,AUTHOR,"Artur Wiebe <artur@4wiebe.de>")
> +	@$(call install_fixup,python3-lxml,DESCRIPTION,missing)
> +
> +	@$(call install_glob, python3-lxml, 0, 0, -, \
> +		/usr/lib/python$(PYTHON3_MAJORMINOR)/site-packages/lxml,, *.py)
> +
> +	@$(call install_finish,python3-lxml)
> +
> +	@$(call touch)
> +
> +# vim: syntax=make
> -- 
> 2.18.0

-- 
Roland Hieber                     | r.hieber@pengutronix.de     |
Pengutronix e.K.                  | https://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim | Phone: +49-5121-206917-5086 |
Amtsgericht Hildesheim, HRA 2686  | Fax:   +49-5121-206917-5555 |

_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [ptxdist]  ?==?utf-8?q? ?==?utf-8?q? [PATCH 1/4]?==?utf-8?q? python3-lxml: new package
  2018-09-04 13:33 ` [ptxdist] [PATCH 1/4] python3-lxml: " Roland Hieber
@ 2018-09-04 16:03   ` Artur Wiebe
  2018-09-06  8:51     ` [ptxdist] ?= [PATCH 1/4]=?utf-8?q? " Michael Olbrich
  0 siblings, 1 reply; 8+ messages in thread
From: Artur Wiebe @ 2018-09-04 16:03 UTC (permalink / raw)
  To: ptxdist

Hi Roland,

I copied that scheme from one of the existing packages. But looks like it is not needed any more.
If you really want, I'll remove the md5 suffix...

Artur

grep -r "\#md5=\$(PYTHON3" rules/*
rules/python3-aiohttp-json-rpc.make:PYTHON3_AIOHTTP_JSON_RPC_URL                := https://pypi.python.org/packages/3b/a8/04a2b02bb68b8a7f9eff84ab2241fba8df14a2796613a830a70b8eeecaa6/$(PYTHON3_AIOHTTP_JSON_RPC).$(PYTHON3_AIOHTTP_JSON_RPC_SUFFIX)\#md5=$(PYTHON3_AIOHTTP_JSON_RPC_MD5)
rules/python3-dateutil.make:PYTHON3_DATEUTIL_URL                := https://pypi.python.org/packages/a0/b0/a4e3241d2dee665fea11baec21389aec6886655cd4db7647ddf96c3fad15/$(PYTHON3_DATEUTIL).$(PYTHON3_DATEUTIL_SUFFIX)\#md5=$(PYTHON3_DATEUTIL_MD5)
rules/python3-decorator.make:PYTHON3_DECORATOR_URL              := https://pypi.python.org/packages/source/d/decorator/$(PYTHON3_DECORATOR).$(PYTHON3_DECORATOR_SUFFIX)#md5=$(PYTHON3_DECORATOR_MD5)
rules/python3-ipython-genutils.make:PYTHON3_IPYTHON_GENUTILS_URL                := https://pypi.python.org/packages/source/i/ipython_genutils/$(PYTHON3_IPYTHON_GENUTILS).$(PYTHON3_IPYTHON_GENUTILS_SUFFIX)\#md5=$(PYTHON3_IPYTHON_GENUTILS_MD5)
rules/python3-lxml.make:PYTHON3_LXML_URL        := https://pypi.python.org/packages/ca/63/139b710671c1655aed3b20c1e6776118c62e9f9311152f4c6031e12a0554/$(PYTHON3_LXML).$(PYTHON3_LXML_SUFFIX)\#md5=$(PYTHON3_LXML_MD5)
rules/python3-msgpack.make:PYTHON3_MSGPACK_URL  := https://pypi.python.org/packages/21/27/8a1d82041c7a2a51fcc73675875a5f9ea06c2663e02fcfeb708be1d081a0/$(PYTHON3_MSGPACK).$(PYTHON3_MSGPACK_SUFFIX)\#md5=$(PYTHON3_MSGPACK_MD5)
rules/python3-opcua.make:PYTHON3_OPCUA_URL      := https://pypi.python.org/packages/7f/a5/238323697fb928bfc7f64193f00cb1cc315ad407fd5411f0110930dfca7c/$(PYTHON3_OPCUA).$(PYTHON3_OPCUA_SUFFIX)\#md5=$(PYTHON3_OPCUA_MD5)
rules/python3-path-py.make:PYTHON3_PATH_PY_URL  := https://pypi.python.org/packages/source/p/path.py/$(PYTHON3_PATH_PY).$(PYTHON3_PATH_PY_SUFFIX)\#md5=$(PYTHON3_PATH_PY_MD5)
rules/python3-pexpect.make:PYTHON3_PEXPECT_URL  := https://pypi.python.org/packages/source/p/pexpect/$(PYTHON3_PEXPECT).$(PYTHON3_PEXPECT_SUFFIX)\#md5=$(PYTHON3_PEXPECT_MD5)
rules/python3-pickleshare.make:PYTHON3_PICKLESHARE_URL          := https://pypi.python.org/packages/source/p/pickleshare/$(PYTHON3_PICKLESHARE).$(PYTHON3_PICKLESHARE_SUFFIX)\#md5=$(PYTHON3_PICKLESHARE_MD5)
rules/python3-ptyprocess.make:PYTHON3_PTYPROCESS_URL            := https://pypi.python.org/packages/source/p/ptyprocess/$(PYTHON3_PTYPROCESS).$(PYTHON3_PTYPROCESS_SUFFIX)\#md5=$(PYTHON3_PTYPROCESS_MD5)
rules/python3-pytz.make:PYTHON3_PYTZ_URL        := https://pypi.python.org/packages/ca/a9/62f96decb1e309d6300ebe7eee9acfd7bccaeedd693794437005b9067b44/$(PYTHON3_PYTZ).$(PYTHON3_PYTZ_SUFFIX)\#md5=$(PYTHON3_PYTZ_MD5)
rules/python3-simplegeneric.make:PYTHON3_SIMPLEGENERIC_URL      := https://pypi.python.org/packages/source/s/simplegeneric/$(PYTHON3_SIMPLEGENERIC).$(PYTHON3_SIMPLEGENERIC_SUFFIX)\#md5=$(PYTHON3_SIMPLEGENERIC_MD5)
rules/python3-tornado.make:PYTHON3_TORNADO_URL  := https://pypi.python.org/packages/df/42/a180ee540e12e2ec1007ac82a42b09dd92e5461e09c98bf465e98646d187/$(PYTHON3_TORNADO).$(PYTHON3_TORNADO_SUFFIX)\#md5=$(PYTHON3_TORNADO_MD5)
rules/python3-traitlets.make:PYTHON3_TRAITLETS_URL              := https://pypi.python.org/packages/source/t/traitlets/$(PYTHON3_TRAITLETS).$(PYTHON3_TRAITLETS_SUFFIX)\#md5=$(PYTHON3_TRAITLETS_MD5)


 
On Tuesday, September 04, 2018 15:33 CEST, Roland Hieber <r.hieber@pengutronix.de> wrote: 
 
> On Fri, Aug 31, 2018 at 07:39:17PM +0200, Artur Wiebe wrote:
> [...]
> > diff --git a/rules/python3-lxml.make b/rules/python3-lxml.make
> > new file mode 100644
> > index 000000000..70fadc372
> > --- /dev/null
> > +++ b/rules/python3-lxml.make
> > @@ -0,0 +1,51 @@
> > +# -*-makefile-*-
> > +#
> > +# Copyright (C) 2018 by Artur Wiebe <artur@4wiebe.de>
> > +#
> > +# See CREDITS for details about who has contributed to this project.
> > +#
> > +# For further information about the PTXdist project and license conditions
> > +# see the README file.
> > +#
> > +
> > +#
> > +# We provide this package
> > +#
> > +PACKAGES-$(PTXCONF_PYTHON3_LXML) += python3-lxml
> > +
> > +PYTHON3_LXML_VERSION	:= 4.2.4
> > +PYTHON3_LXML_MD5	:= 31239400ca4e130b69993bb3c14204b3
> > +PYTHON3_LXML		:= lxml-$(PYTHON3_LXML_VERSION)
> > +PYTHON3_LXML_SUFFIX	:= tar.gz
> > +PYTHON3_LXML_URL	:= https://pypi.python.org/packages/ca/63/139b710671c1655aed3b20c1e6776118c62e9f9311152f4c6031e12a0554/$(PYTHON3_LXML).$(PYTHON3_LXML_SUFFIX)\#md5=$(PYTHON3_LXML_MD5)
> 
> That URL looks unusual. What does the '\#md5=..." at the end do?
> `ptxdist get` does not seem to use it at all. Same for the other
> pypy packages in your series.
> 
>  - Roland
> 
> > +PYTHON3_LXML_SOURCE	:= $(SRCDIR)/$(PYTHON3_LXML).$(PYTHON3_LXML_SUFFIX)
> > +PYTHON3_LXML_DIR	:= $(BUILDDIR)/$(PYTHON3_LXML)
> > +PYTHON3_LXML_LICENSE	:= BSD
> > +
> > +# ----------------------------------------------------------------------------
> > +# Prepare
> > +# ----------------------------------------------------------------------------
> > +
> > +PYTHON3_LXML_CONF_TOOL    := python3
> > +
> > +# ----------------------------------------------------------------------------
> > +# Target-Install
> > +# ----------------------------------------------------------------------------
> > +
> > +$(STATEDIR)/python3-lxml.targetinstall:
> > +	@$(call targetinfo)
> > +
> > +	@$(call install_init, python3-lxml)
> > +	@$(call install_fixup,python3-lxml,PRIORITY,optional)
> > +	@$(call install_fixup,python3-lxml,SECTION,base)
> > +	@$(call install_fixup,python3-lxml,AUTHOR,"Artur Wiebe <artur@4wiebe.de>")
> > +	@$(call install_fixup,python3-lxml,DESCRIPTION,missing)
> > +
> > +	@$(call install_glob, python3-lxml, 0, 0, -, \
> > +		/usr/lib/python$(PYTHON3_MAJORMINOR)/site-packages/lxml,, *.py)
> > +
> > +	@$(call install_finish,python3-lxml)
> > +
> > +	@$(call touch)
> > +
> > +# vim: syntax=make
> > -- 
> > 2.18.0
> 
> -- 
> Roland Hieber                     | r.hieber@pengutronix.de     |
> Pengutronix e.K.                  | https://www.pengutronix.de/ |
> Peiner Str. 6-8, 31137 Hildesheim | Phone: +49-5121-206917-5086 |
> Amtsgericht Hildesheim, HRA 2686  | Fax:   +49-5121-206917-5555 |
> 
> _______________________________________________
> ptxdist mailing list
> ptxdist@pengutronix.de


_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [ptxdist] [PATCH 2/4] python3-pytz: new package
  2018-08-31 17:39 ` [ptxdist] [PATCH 2/4] python3-pytz: " Artur Wiebe
@ 2018-09-06  8:51   ` Michael Olbrich
  0 siblings, 0 replies; 8+ messages in thread
From: Michael Olbrich @ 2018-09-06  8:51 UTC (permalink / raw)
  To: ptxdist

[-- Attachment #1: Type: text/plain, Size: 3768 bytes --]

On Fri, Aug 31, 2018 at 07:39:18PM +0200, Artur Wiebe wrote:
> Signed-off-by: Artur Wiebe <artur@4wiebe.de>
> ---
>  rules/python3-pytz.in   | 13 +++++++++++
>  rules/python3-pytz.make | 51 +++++++++++++++++++++++++++++++++++++++++
>  2 files changed, 64 insertions(+)
>  create mode 100644 rules/python3-pytz.in
>  create mode 100644 rules/python3-pytz.make
> 
> diff --git a/rules/python3-pytz.in b/rules/python3-pytz.in
> new file mode 100644
> index 000000000..d2aff7acf
> --- /dev/null
> +++ b/rules/python3-pytz.in
> @@ -0,0 +1,13 @@
> +## SECTION=python3
> +
> +config PYTHON3_PYTZ
> +	tristate
> +	select PYTHON3
> +	select HOST_PYTHON3_SETUPTOOLS

	select TIMEZONE if RUNTIME

see below.

> +	prompt "pytz"
> +	help
> +	  pytz brings the Olson tz database into Python.
> +	  This library allows accurate and cross platform timezone calculations
> +	  using Python 2.4 or higher. It also solves the issue of ambiguous
> +	  times at the end of daylight saving time, which you can read
> +	  more about in the Python Library Reference (datetime.tzinfo).
> diff --git a/rules/python3-pytz.make b/rules/python3-pytz.make
> new file mode 100644
> index 000000000..c054ab850
> --- /dev/null
> +++ b/rules/python3-pytz.make
> @@ -0,0 +1,51 @@
> +# -*-makefile-*-
> +#
> +# Copyright (C) 2018 by Artur Wiebe <artur@4wiebe.de>
> +#
> +# See CREDITS for details about who has contributed to this project.
> +#
> +# For further information about the PTXdist project and license conditions
> +# see the README file.
> +#
> +
> +#
> +# We provide this package
> +#
> +PACKAGES-$(PTXCONF_PYTHON3_PYTZ) += python3-pytz
> +
> +PYTHON3_PYTZ_VERSION	:= 2018.5
> +PYTHON3_PYTZ_MD5	:= 45409cbfa3927bdd2f3ee914dd5b1060
> +PYTHON3_PYTZ		:= pytz-$(PYTHON3_PYTZ_VERSION)
> +PYTHON3_PYTZ_SUFFIX	:= tar.gz
> +PYTHON3_PYTZ_URL	:= https://pypi.python.org/packages/ca/a9/62f96decb1e309d6300ebe7eee9acfd7bccaeedd693794437005b9067b44/$(PYTHON3_PYTZ).$(PYTHON3_PYTZ_SUFFIX)\#md5=$(PYTHON3_PYTZ_MD5)
> +PYTHON3_PYTZ_SOURCE	:= $(SRCDIR)/$(PYTHON3_PYTZ).$(PYTHON3_PYTZ_SUFFIX)
> +PYTHON3_PYTZ_DIR	:= $(BUILDDIR)/$(PYTHON3_PYTZ)
> +PYTHON3_PYTZ_LICENSE	:= MIT
> +
> +# ----------------------------------------------------------------------------
> +# Prepare
> +# ----------------------------------------------------------------------------
> +
> +PYTHON3_PYTZ_CONF_TOOL    := python3
> +
> +# ----------------------------------------------------------------------------
> +# Target-Install
> +# ----------------------------------------------------------------------------
> +
> +$(STATEDIR)/python3-pytz.targetinstall:
> +	@$(call targetinfo)
> +
> +	@$(call install_init, python3-pytz)
> +	@$(call install_fixup,python3-pytz,PRIORITY,optional)
> +	@$(call install_fixup,python3-pytz,SECTION,base)
> +	@$(call install_fixup,python3-pytz,AUTHOR,"Artur Wiebe <artur@4wiebe.de>")
> +	@$(call install_fixup,python3-pytz,DESCRIPTION,missing)
> +
> +	@$(call install_glob, python3-pytz, 0, 0, -, \
> +		/usr/lib/python$(PYTHON3_MAJORMINOR)/site-packages/pytz,, *.py)

This packages installs all timezone data. Please use the attached patch
(ist from Debian) and add */zoneinfo/* (I think) to the exclude patters of
install_glob.
This way the system timezone data is used.

Michael

> +
> +	@$(call install_finish,python3-pytz)
> +
> +	@$(call touch)
> +
> +# vim: syntax=make
> -- 
> 2.18.0
> 
> 
> _______________________________________________
> ptxdist mailing list
> ptxdist@pengutronix.de

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

[-- Attachment #2: tzdata --]
[-- Type: text/plain, Size: 1496 bytes --]

Description: Use system zone information from the tzdata package
Author: Kurt Roeckx <kurt@roeckx.be>
Author: Hilko Bengen <bengen@debian.org>
Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=416202
Forwarded: not-needed
Last-Update: 2018-02-14

Index: pytz-2018.3/pytz/tzfile.py
===================================================================
--- pytz-2018.3.orig/pytz/tzfile.py
+++ pytz-2018.3/pytz/tzfile.py
@@ -126,7 +126,8 @@ def build_tzinfo(zone, fp):
 if __name__ == '__main__':
     import os.path
     from pprint import pprint
-    base = os.path.join(os.path.dirname(__file__), 'zoneinfo')
+    # Patched in Debian, use the system zoninfo from the tzdata package
+    base = '/usr/share/zoneinfo'
     tz = build_tzinfo('Australia/Melbourne',
                       open(os.path.join(base, 'Australia', 'Melbourne'), 'rb'))
     tz = build_tzinfo('US/Eastern',
Index: pytz-2018.3/pytz/__init__.py
===================================================================
--- pytz-2018.3.orig/pytz/__init__.py
+++ pytz-2018.3/pytz/__init__.py
@@ -94,7 +94,7 @@ def open_resource(name):
     if zoneinfo_dir is not None:
         filename = os.path.join(zoneinfo_dir, *name_parts)
     else:
-        filename = os.path.join(os.path.dirname(__file__),
+        filename = os.path.join('/usr','share',
                                 'zoneinfo', *name_parts)
         if not os.path.exists(filename):
             # http://bugs.launchpad.net/bugs/383171 - we avoid using this

[-- Attachment #3: Type: text/plain, Size: 91 bytes --]

_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [ptxdist] ?=  [PATCH 1/4]=?utf-8?q? python3-lxml: new package
  2018-09-04 16:03   ` [ptxdist] ?==?utf-8?q? ?==?utf-8?q? [PATCH 1/4]?==?utf-8?q? " Artur Wiebe
@ 2018-09-06  8:51     ` Michael Olbrich
  0 siblings, 0 replies; 8+ messages in thread
From: Michael Olbrich @ 2018-09-06  8:51 UTC (permalink / raw)
  To: ptxdist

On Tue, Sep 04, 2018 at 06:03:11PM +0200, Artur Wiebe wrote:
> I copied that scheme from one of the existing packages. But looks like it is not needed any more.
> If you really want, I'll remove the md5 suffix...

The URLs are fine.

Michael

> 
> grep -r "\#md5=\$(PYTHON3" rules/*
> rules/python3-aiohttp-json-rpc.make:PYTHON3_AIOHTTP_JSON_RPC_URL                := https://pypi.python.org/packages/3b/a8/04a2b02bb68b8a7f9eff84ab2241fba8df14a2796613a830a70b8eeecaa6/$(PYTHON3_AIOHTTP_JSON_RPC).$(PYTHON3_AIOHTTP_JSON_RPC_SUFFIX)\#md5=$(PYTHON3_AIOHTTP_JSON_RPC_MD5)
> rules/python3-dateutil.make:PYTHON3_DATEUTIL_URL                := https://pypi.python.org/packages/a0/b0/a4e3241d2dee665fea11baec21389aec6886655cd4db7647ddf96c3fad15/$(PYTHON3_DATEUTIL).$(PYTHON3_DATEUTIL_SUFFIX)\#md5=$(PYTHON3_DATEUTIL_MD5)
> rules/python3-decorator.make:PYTHON3_DECORATOR_URL              := https://pypi.python.org/packages/source/d/decorator/$(PYTHON3_DECORATOR).$(PYTHON3_DECORATOR_SUFFIX)#md5=$(PYTHON3_DECORATOR_MD5)
> rules/python3-ipython-genutils.make:PYTHON3_IPYTHON_GENUTILS_URL                := https://pypi.python.org/packages/source/i/ipython_genutils/$(PYTHON3_IPYTHON_GENUTILS).$(PYTHON3_IPYTHON_GENUTILS_SUFFIX)\#md5=$(PYTHON3_IPYTHON_GENUTILS_MD5)
> rules/python3-lxml.make:PYTHON3_LXML_URL        := https://pypi.python.org/packages/ca/63/139b710671c1655aed3b20c1e6776118c62e9f9311152f4c6031e12a0554/$(PYTHON3_LXML).$(PYTHON3_LXML_SUFFIX)\#md5=$(PYTHON3_LXML_MD5)
> rules/python3-msgpack.make:PYTHON3_MSGPACK_URL  := https://pypi.python.org/packages/21/27/8a1d82041c7a2a51fcc73675875a5f9ea06c2663e02fcfeb708be1d081a0/$(PYTHON3_MSGPACK).$(PYTHON3_MSGPACK_SUFFIX)\#md5=$(PYTHON3_MSGPACK_MD5)
> rules/python3-opcua.make:PYTHON3_OPCUA_URL      := https://pypi.python.org/packages/7f/a5/238323697fb928bfc7f64193f00cb1cc315ad407fd5411f0110930dfca7c/$(PYTHON3_OPCUA).$(PYTHON3_OPCUA_SUFFIX)\#md5=$(PYTHON3_OPCUA_MD5)
> rules/python3-path-py.make:PYTHON3_PATH_PY_URL  := https://pypi.python.org/packages/source/p/path.py/$(PYTHON3_PATH_PY).$(PYTHON3_PATH_PY_SUFFIX)\#md5=$(PYTHON3_PATH_PY_MD5)
> rules/python3-pexpect.make:PYTHON3_PEXPECT_URL  := https://pypi.python.org/packages/source/p/pexpect/$(PYTHON3_PEXPECT).$(PYTHON3_PEXPECT_SUFFIX)\#md5=$(PYTHON3_PEXPECT_MD5)
> rules/python3-pickleshare.make:PYTHON3_PICKLESHARE_URL          := https://pypi.python.org/packages/source/p/pickleshare/$(PYTHON3_PICKLESHARE).$(PYTHON3_PICKLESHARE_SUFFIX)\#md5=$(PYTHON3_PICKLESHARE_MD5)
> rules/python3-ptyprocess.make:PYTHON3_PTYPROCESS_URL            := https://pypi.python.org/packages/source/p/ptyprocess/$(PYTHON3_PTYPROCESS).$(PYTHON3_PTYPROCESS_SUFFIX)\#md5=$(PYTHON3_PTYPROCESS_MD5)
> rules/python3-pytz.make:PYTHON3_PYTZ_URL        := https://pypi.python.org/packages/ca/a9/62f96decb1e309d6300ebe7eee9acfd7bccaeedd693794437005b9067b44/$(PYTHON3_PYTZ).$(PYTHON3_PYTZ_SUFFIX)\#md5=$(PYTHON3_PYTZ_MD5)
> rules/python3-simplegeneric.make:PYTHON3_SIMPLEGENERIC_URL      := https://pypi.python.org/packages/source/s/simplegeneric/$(PYTHON3_SIMPLEGENERIC).$(PYTHON3_SIMPLEGENERIC_SUFFIX)\#md5=$(PYTHON3_SIMPLEGENERIC_MD5)
> rules/python3-tornado.make:PYTHON3_TORNADO_URL  := https://pypi.python.org/packages/df/42/a180ee540e12e2ec1007ac82a42b09dd92e5461e09c98bf465e98646d187/$(PYTHON3_TORNADO).$(PYTHON3_TORNADO_SUFFIX)\#md5=$(PYTHON3_TORNADO_MD5)
> rules/python3-traitlets.make:PYTHON3_TRAITLETS_URL              := https://pypi.python.org/packages/source/t/traitlets/$(PYTHON3_TRAITLETS).$(PYTHON3_TRAITLETS_SUFFIX)\#md5=$(PYTHON3_TRAITLETS_MD5)
> 
> 
>  
> On Tuesday, September 04, 2018 15:33 CEST, Roland Hieber <r.hieber@pengutronix.de> wrote: 
>  
> > On Fri, Aug 31, 2018 at 07:39:17PM +0200, Artur Wiebe wrote:
> > [...]
> > > diff --git a/rules/python3-lxml.make b/rules/python3-lxml.make
> > > new file mode 100644
> > > index 000000000..70fadc372
> > > --- /dev/null
> > > +++ b/rules/python3-lxml.make
> > > @@ -0,0 +1,51 @@
> > > +# -*-makefile-*-
> > > +#
> > > +# Copyright (C) 2018 by Artur Wiebe <artur@4wiebe.de>
> > > +#
> > > +# See CREDITS for details about who has contributed to this project.
> > > +#
> > > +# For further information about the PTXdist project and license conditions
> > > +# see the README file.
> > > +#
> > > +
> > > +#
> > > +# We provide this package
> > > +#
> > > +PACKAGES-$(PTXCONF_PYTHON3_LXML) += python3-lxml
> > > +
> > > +PYTHON3_LXML_VERSION	:= 4.2.4
> > > +PYTHON3_LXML_MD5	:= 31239400ca4e130b69993bb3c14204b3
> > > +PYTHON3_LXML		:= lxml-$(PYTHON3_LXML_VERSION)
> > > +PYTHON3_LXML_SUFFIX	:= tar.gz
> > > +PYTHON3_LXML_URL	:= https://pypi.python.org/packages/ca/63/139b710671c1655aed3b20c1e6776118c62e9f9311152f4c6031e12a0554/$(PYTHON3_LXML).$(PYTHON3_LXML_SUFFIX)\#md5=$(PYTHON3_LXML_MD5)
> > 
> > That URL looks unusual. What does the '\#md5=..." at the end do?
> > `ptxdist get` does not seem to use it at all. Same for the other
> > pypy packages in your series.
> > 
> >  - Roland
> > 
> > > +PYTHON3_LXML_SOURCE	:= $(SRCDIR)/$(PYTHON3_LXML).$(PYTHON3_LXML_SUFFIX)
> > > +PYTHON3_LXML_DIR	:= $(BUILDDIR)/$(PYTHON3_LXML)
> > > +PYTHON3_LXML_LICENSE	:= BSD
> > > +
> > > +# ----------------------------------------------------------------------------
> > > +# Prepare
> > > +# ----------------------------------------------------------------------------
> > > +
> > > +PYTHON3_LXML_CONF_TOOL    := python3
> > > +
> > > +# ----------------------------------------------------------------------------
> > > +# Target-Install
> > > +# ----------------------------------------------------------------------------
> > > +
> > > +$(STATEDIR)/python3-lxml.targetinstall:
> > > +	@$(call targetinfo)
> > > +
> > > +	@$(call install_init, python3-lxml)
> > > +	@$(call install_fixup,python3-lxml,PRIORITY,optional)
> > > +	@$(call install_fixup,python3-lxml,SECTION,base)
> > > +	@$(call install_fixup,python3-lxml,AUTHOR,"Artur Wiebe <artur@4wiebe.de>")
> > > +	@$(call install_fixup,python3-lxml,DESCRIPTION,missing)
> > > +
> > > +	@$(call install_glob, python3-lxml, 0, 0, -, \
> > > +		/usr/lib/python$(PYTHON3_MAJORMINOR)/site-packages/lxml,, *.py)
> > > +
> > > +	@$(call install_finish,python3-lxml)
> > > +
> > > +	@$(call touch)
> > > +
> > > +# vim: syntax=make
> > > -- 
> > > 2.18.0
> > 
> > -- 
> > Roland Hieber                     | r.hieber@pengutronix.de     |
> > Pengutronix e.K.                  | https://www.pengutronix.de/ |
> > Peiner Str. 6-8, 31137 Hildesheim | Phone: +49-5121-206917-5086 |
> > Amtsgericht Hildesheim, HRA 2686  | Fax:   +49-5121-206917-5555 |
> > 
> > _______________________________________________
> > ptxdist mailing list
> > ptxdist@pengutronix.de
> 
> 
> _______________________________________________
> ptxdist mailing list
> ptxdist@pengutronix.de

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2018-09-06  8:51 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-08-31 17:39 [ptxdist] [PATCH 1/4] python3-lxml: new package Artur Wiebe
2018-08-31 17:39 ` [ptxdist] [PATCH 2/4] python3-pytz: " Artur Wiebe
2018-09-06  8:51   ` Michael Olbrich
2018-08-31 17:39 ` [ptxdist] [PATCH 3/4] python3-dateutil: " Artur Wiebe
2018-08-31 17:39 ` [ptxdist] [PATCH 4/4] python3-opcua: " Artur Wiebe
2018-09-04 13:33 ` [ptxdist] [PATCH 1/4] python3-lxml: " Roland Hieber
2018-09-04 16:03   ` [ptxdist] ?==?utf-8?q? ?==?utf-8?q? [PATCH 1/4]?==?utf-8?q? " Artur Wiebe
2018-09-06  8:51     ` [ptxdist] ?= [PATCH 1/4]=?utf-8?q? " Michael Olbrich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox