mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Michael Olbrich <m.olbrich@pengutronix.de>
To: ptxdist@pengutronix.de
Cc: Artur Wiebe <artur@4wiebe.de>
Subject: Re: [ptxdist] [APPLIED] python3-aiosqlite: new package
Date: Tue,  2 May 2023 09:05:58 +0200	[thread overview]
Message-ID: <20230502070558.315717-1-m.olbrich@pengutronix.de> (raw)
In-Reply-To: <20230416093643.3983478-5-artur@4wiebe.de>

Thanks, applied as 0acfe02693eb3fb2eae27dedff98db3a708336b9.

Michael

[sent from post-receive hook]

On Tue, 02 May 2023 09:05:58 +0200, Artur Wiebe <artur@4wiebe.de> wrote:
> Signed-off-by: Artur Wiebe <artur@4wiebe.de>
> Message-Id: <20230416093643.3983478-5-artur@4wiebe.de>
> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
> 
> diff --git a/patches/aiosqlite-0.18.0/0001-add-setup.py.patch b/patches/aiosqlite-0.18.0/0001-add-setup.py.patch
> new file mode 100644
> index 000000000000..b7ef9455e44b
> --- /dev/null
> +++ b/patches/aiosqlite-0.18.0/0001-add-setup.py.patch
> @@ -0,0 +1,25 @@
> +From 0e7a0cafda6599d4af114fc0154a90b8786af7c6 Mon Sep 17 00:00:00 2001
> +From: Artur Wiebe <artur@4wiebe.de>
> +Date: Thu, 13 Apr 2023 16:47:50 +0200
> +Subject: [PATCH] add setup.py
> +
> +---
> + setup.py | 6 ++++++
> + 1 file changed, 6 insertions(+)
> + create mode 100644 setup.py
> +
> +diff --git a/setup.py b/setup.py
> +new file mode 100644
> +index 0000000..358320c
> +--- /dev/null
> ++++ b/setup.py
> +@@ -0,0 +1,6 @@
> ++from setuptools import setup
> ++
> ++setup(
> ++	name='aiosqlite',
> ++	packages=['aiosqlite'],
> ++)
> +-- 
> +2.40.0
> +
> diff --git a/patches/aiosqlite-0.18.0/series b/patches/aiosqlite-0.18.0/series
> new file mode 100644
> index 000000000000..737b1f8cb0a2
> --- /dev/null
> +++ b/patches/aiosqlite-0.18.0/series
> @@ -0,0 +1 @@
> +0001-add-setup.py.patch
> diff --git a/rules/python3-aiosqlite.in b/rules/python3-aiosqlite.in
> new file mode 100644
> index 000000000000..199da044973e
> --- /dev/null
> +++ b/rules/python3-aiosqlite.in
> @@ -0,0 +1,12 @@
> +## SECTION=python3
> +
> +config PYTHON3_AIOSQLITE
> +	tristate
> +	select PYTHON3
> +	select PYTHON3_SQLITE
> +	prompt "aiosqlite"
> +	help
> +	  aiosqlite provides a friendly, async interface to sqlite databases.
> +	  It replicates the standard sqlite3 module,
> +	  but with async versions of all the standard connection and cursor methods,
> +	  plus context managers for automatically closing connections and cursors
> diff --git a/rules/python3-aiosqlite.make b/rules/python3-aiosqlite.make
> new file mode 100644
> index 000000000000..f8795022c135
> --- /dev/null
> +++ b/rules/python3-aiosqlite.make
> @@ -0,0 +1,53 @@
> +# -*-makefile-*-
> +#
> +# Copyright (C) 2023 by Artur Wiebe <artur@4wiebe.de>
> +#
> +# For further information about the PTXdist project and license conditions
> +# see the README file.
> +#
> +
> +#
> +# We provide this package
> +#
> +PACKAGES-$(PTXCONF_PYTHON3_AIOSQLITE) += python3-aiosqlite
> +
> +#
> +# Paths and names
> +#
> +PYTHON3_AIOSQLITE_VERSION	:= 0.18.0
> +PYTHON3_AIOSQLITE_MD5		:= 1ebed736d07d246f473d0e09a5d1cbf7
> +PYTHON3_AIOSQLITE		:= aiosqlite-$(PYTHON3_AIOSQLITE_VERSION)
> +PYTHON3_AIOSQLITE_SUFFIX	:= tar.gz
> +PYTHON3_AIOSQLITE_URL		:= $(call ptx/mirror-pypi, aiosqlite, $(PYTHON3_AIOSQLITE).$(PYTHON3_AIOSQLITE_SUFFIX))
> +PYTHON3_AIOSQLITE_SOURCE	:= $(SRCDIR)/$(PYTHON3_AIOSQLITE).$(PYTHON3_AIOSQLITE_SUFFIX)
> +PYTHON3_AIOSQLITE_DIR		:= $(BUILDDIR)/$(PYTHON3_AIOSQLITE)
> +PYTHON3_AIOSQLITE_LICENSE	:= MIT
> +PYTHON3_AIOSQLITE_LICENSE_FILES	:= file://LICENSE;md5=f0c422eaa1f23d09f8203dc0af3e2d54
> +
> +# ----------------------------------------------------------------------------
> +# Prepare
> +# ----------------------------------------------------------------------------
> +
> +PYTHON3_AIOSQLITE_CONF_TOOL	:= python3
> +
> +# ----------------------------------------------------------------------------
> +# Target-Install
> +# ----------------------------------------------------------------------------
> +
> +$(STATEDIR)/python3-aiosqlite.targetinstall:
> +	@$(call targetinfo)
> +
> +	@$(call install_init, python3-aiosqlite)
> +	@$(call install_fixup, python3-aiosqlite,PRIORITY,optional)
> +	@$(call install_fixup, python3-aiosqlite,SECTION,base)
> +	@$(call install_fixup, python3-aiosqlite,AUTHOR,"Artur Wiebe <artur@4wiebe.de>")
> +	@$(call install_fixup, python3-aiosqlite,DESCRIPTION,missing)
> +
> +	@$(call install_glob, python3-aiosqlite, 0, 0, -, \
> +		$(PYTHON3_SITEPACKAGES)/aiosqlite,, *.py)
> +
> +	@$(call install_finish, python3-aiosqlite)
> +
> +	@$(call touch)
> +
> +# vim: syntax=make



  reply	other threads:[~2023-05-02  7:06 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-04-16  9:36 [ptxdist] [PATCH 01/11] python3-dateutil: version bump 2.7.3 -> 2.8.2 Artur Wiebe
2023-04-16  9:36 ` [ptxdist] [PATCH 02/11] python3-pytz: version bump 2020.1 -> 2023.3 Artur Wiebe
2023-05-02  7:05   ` [ptxdist] [APPLIED] " Michael Olbrich
2023-04-16  9:36 ` [ptxdist] [PATCH 03/11] python3-aiofiles: version bump 0.8.0 -> 23.1.0 Artur Wiebe
2023-05-02  7:05   ` [ptxdist] [APPLIED] " Michael Olbrich
2023-04-16  9:36 ` [ptxdist] [PATCH 04/11] python3-sortedcontainers: new package Artur Wiebe
2023-05-02  7:05   ` [ptxdist] [APPLIED] " Michael Olbrich
2023-04-16  9:36 ` [ptxdist] [PATCH 05/11] python3-aiosqlite: " Artur Wiebe
2023-05-02  7:05   ` Michael Olbrich [this message]
2023-04-16  9:36 ` [ptxdist] [PATCH 06/11] host-python3-pycparser: new package (from python3-pycparser) Artur Wiebe
2023-05-02  7:05   ` [ptxdist] [APPLIED] " Michael Olbrich
2023-04-16  9:36 ` [ptxdist] [PATCH 07/11] python3-cffi: add dependency to pycparser Artur Wiebe
2023-05-02  7:05   ` [ptxdist] [APPLIED] " Michael Olbrich
2023-04-16  9:36 ` [ptxdist] [PATCH 08/11] python3-semantic-version: new package Artur Wiebe
2023-05-02  7:06   ` [ptxdist] [APPLIED] " Michael Olbrich
2023-04-16  9:36 ` [ptxdist] [PATCH 09/11] host-python3-setuptools-rust: " Artur Wiebe
2023-05-02  7:06   ` [ptxdist] [APPLIED] " Michael Olbrich
2023-04-16  9:36 ` [ptxdist] [PATCH 10/11] python3-asyncua: " Artur Wiebe
2023-04-16  9:52   ` [ptxdist] ?==?utf-8?q? " Artur Wiebe
2023-04-21 13:49     ` Michael Olbrich
2023-05-02  7:06   ` [ptxdist] [APPLIED] " Michael Olbrich
2023-04-16  9:36 ` [ptxdist] [PATCH 11/11] python3-cryptography: " Artur Wiebe
2023-05-02  7:06   ` [ptxdist] [APPLIED] " Michael Olbrich
2023-05-02  7:05 ` [ptxdist] [APPLIED] python3-dateutil: version bump 2.7.3 -> 2.8.2 Michael Olbrich

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230502070558.315717-1-m.olbrich@pengutronix.de \
    --to=m.olbrich@pengutronix.de \
    --cc=artur@4wiebe.de \
    --cc=ptxdist@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox