Thanks, applied as 041ecf6aeda796cb7fe81e77807c6ec3cf46ee6e.

Michael

[sent from post-receive hook]

On Mon, 06 Jul 2020 08:32:07 +0200, Philipp Zabel <[email protected]> 
wrote:
> Signed-off-by: Philipp Zabel <[email protected]>
> Message-Id: <[email protected]>
> Signed-off-by: Michael Olbrich <[email protected]>
> 
> diff --git a/rules/python3-zipp.in b/rules/python3-zipp.in
> new file mode 100644
> index 000000000000..7c71f9be26af
> --- /dev/null
> +++ b/rules/python3-zipp.in
> @@ -0,0 +1,8 @@
> +## SECTION=python3
> +
> +config PYTHON3_ZIPP
> +     tristate
> +     select PYTHON3
> +     prompt "zipp"
> +     help
> +       A pathlib-compatible Zipfile object wrapper. A backport of the Path 
> object.
> diff --git a/rules/python3-zipp.make b/rules/python3-zipp.make
> new file mode 100644
> index 000000000000..bd43b1b3bd9a
> --- /dev/null
> +++ b/rules/python3-zipp.make
> @@ -0,0 +1,54 @@
> +# -*-makefile-*-
> +#
> +# Copyright (C) 2020 by Philipp Zabel <[email protected]>
> +#
> +# For further information about the PTXdist project and license conditions
> +# see the README file.
> +#
> +
> +#
> +# We provide this package
> +#
> +PACKAGES-$(PTXCONF_PYTHON3_ZIPP) += python3-zipp
> +
> +#
> +# Paths and names
> +#
> +PYTHON3_ZIPP_VERSION := 3.1.0
> +PYTHON3_ZIPP_MD5     := 199da7385f080ec45da6c1942e2b5996
> +PYTHON3_ZIPP         := zipp-$(PYTHON3_ZIPP_VERSION)
> +PYTHON3_ZIPP_SUFFIX  := tar.gz
> +PYTHON3_ZIPP_URL     := 
> https://pypi.python.org/packages/source/z/zipp/$(PYTHON3_ZIPP).$(PYTHON3_ZIPP_SUFFIX)
> +PYTHON3_ZIPP_SOURCE  := $(SRCDIR)/$(PYTHON3_ZIPP).$(PYTHON3_ZIPP_SUFFIX)
> +PYTHON3_ZIPP_DIR     := $(BUILDDIR)/$(PYTHON3_ZIPP)
> +PYTHON3_ZIPP_LICENSE := MIT
> +PYTHON3_ZIPP_LICENSE_FILES := \
> +     file://LICENSE;md5=7a7126e068206290f3fe9f8d6c713ea6
> +
> +# 
> ----------------------------------------------------------------------------
> +# Prepare
> +# 
> ----------------------------------------------------------------------------
> +
> +PYTHON3_ZIPP_CONF_TOOL       := python3
> +
> +# 
> ----------------------------------------------------------------------------
> +# Target-Install
> +# 
> ----------------------------------------------------------------------------
> +
> +$(STATEDIR)/python3-zipp.targetinstall:
> +     @$(call targetinfo)
> +
> +     @$(call install_init, python3-zipp)
> +     @$(call install_fixup, python3-zipp, PRIORITY, optional)
> +     @$(call install_fixup, python3-zipp, SECTION, base)
> +     @$(call install_fixup, python3-zipp, AUTHOR, "Philipp Zabel 
> <[email protected]>")
> +     @$(call install_fixup, python3-zipp, DESCRIPTION, missing)
> +
> +     @$(call install_glob, python3-zipp, 0, 0, -, \
> +             /usr/lib/python$(PYTHON3_MAJORMINOR)/site-packages,, *.py)
> +
> +     @$(call install_finish, python3-zipp)
> +
> +     @$(call touch)
> +
> +# vim: syntax=make

_______________________________________________
ptxdist mailing list
[email protected]
To unsubscribe, send a mail with subject "unsubscribe" to 
[email protected]

Reply via email to