pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

py-sqlite-utils: Import py312-sqlite-utils-3.38



Module Name:	pkgsrc-wip
Committed By:	Leonardo Taccari <leot%NetBSD.org@localhost>
Pushed By:	leot
Date:		Fri Oct 3 20:59:54 2025 +0200
Changeset:	7eaf05196cc36f06e7bcd98b5a47353904ed5056

Added Files:
	py-sqlite-utils/ALTERNATIVES
	py-sqlite-utils/DESCR
	py-sqlite-utils/Makefile
	py-sqlite-utils/PLIST
	py-sqlite-utils/distinfo

Log Message:
py-sqlite-utils: Import py312-sqlite-utils-3.38

Python CLI utility and library for manipulating SQLite databases.

This library and command-line utility helps create SQLite databases
from an existing collection of data.

Most of the functionality is available as either a Python API or
through the sqlite-utils command-line tool.

sqlite-utils is not intended to be a full ORM: the focus is utility
helpers to make creating the initial database and populating it with
data as productive as possible.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=7eaf05196cc36f06e7bcd98b5a47353904ed5056

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 py-sqlite-utils/ALTERNATIVES |  1 +
 py-sqlite-utils/DESCR        | 11 +++++++++++
 py-sqlite-utils/Makefile     | 27 +++++++++++++++++++++++++++
 py-sqlite-utils/PLIST        | 33 +++++++++++++++++++++++++++++++++
 py-sqlite-utils/distinfo     |  5 +++++
 5 files changed, 77 insertions(+)

diffs:
diff --git a/py-sqlite-utils/ALTERNATIVES b/py-sqlite-utils/ALTERNATIVES
new file mode 100644
index 0000000000..2c73af9010
--- /dev/null
+++ b/py-sqlite-utils/ALTERNATIVES
@@ -0,0 +1 @@
+bin/sqlite-utils @PREFIX@/bin/sqlite-utils@PYVERSSUFFIX@
diff --git a/py-sqlite-utils/DESCR b/py-sqlite-utils/DESCR
new file mode 100644
index 0000000000..9586e79577
--- /dev/null
+++ b/py-sqlite-utils/DESCR
@@ -0,0 +1,11 @@
+Python CLI utility and library for manipulating SQLite databases.
+
+This library and command-line utility helps create SQLite databases
+from an existing collection of data.
+
+Most of the functionality is available as either a Python API or
+through the sqlite-utils command-line tool.
+
+sqlite-utils is not intended to be a full ORM: the focus is utility
+helpers to make creating the initial database and populating it with
+data as productive as possible.
diff --git a/py-sqlite-utils/Makefile b/py-sqlite-utils/Makefile
new file mode 100644
index 0000000000..61ad0933dc
--- /dev/null
+++ b/py-sqlite-utils/Makefile
@@ -0,0 +1,27 @@
+# $NetBSD$
+
+DISTNAME=	sqlite_utils-3.38
+PKGNAME=	${PYPKGPREFIX}-${DISTNAME:S/_/-/}
+CATEGORIES=	databases python
+MASTER_SITES=	${MASTER_SITE_PYPI:=s/sqlite_utils/}
+
+MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=	https://github.com/simonw/sqlite-utils
+COMMENT=	CLI tool and Python library for manipulating SQLite databases
+LICENSE=	apache-2.0
+
+DEPENDS+=	${PYPKGPREFIX}-click-default-group>=1.2.3:../../devel/py-click-default-group
+DEPENDS+=	${PYPKGPREFIX}-click>=0:../../devel/py-click
+DEPENDS+=	${PYPKGPREFIX}-dateutil>=0:../../time/py-dateutil
+DEPENDS+=	${PYPKGPREFIX}-pluggy>=0:../../devel/py-pluggy
+DEPENDS+=	${PYPKGPREFIX}-sqlite-fts4>=0:../../wip/py-sqlite-fts4
+DEPENDS+=	${PYPKGPREFIX}-tabulate>=0:../../textproc/py-tabulate
+
+USE_LANGUAGES=	# none
+
+post-install:
+	cd ${DESTDIR}${PREFIX}/bin && \
+		${MV} sqlite-utils sqlite-utils${PYVERSSUFFIX} || ${TRUE}
+
+.include "../../lang/python/wheel.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/py-sqlite-utils/PLIST b/py-sqlite-utils/PLIST
new file mode 100644
index 0000000000..bd56d2bac6
--- /dev/null
+++ b/py-sqlite-utils/PLIST
@@ -0,0 +1,33 @@
+@comment $NetBSD$
+bin/sqlite-utils${PYVERSSUFFIX}
+${PYSITELIB}/${WHEEL_INFODIR}/METADATA
+${PYSITELIB}/${WHEEL_INFODIR}/RECORD
+${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
+${PYSITELIB}/${WHEEL_INFODIR}/entry_points.txt
+${PYSITELIB}/${WHEEL_INFODIR}/licenses/LICENSE
+${PYSITELIB}/${WHEEL_INFODIR}/top_level.txt
+${PYSITELIB}/sqlite_utils/__init__.py
+${PYSITELIB}/sqlite_utils/__init__.pyc
+${PYSITELIB}/sqlite_utils/__init__.pyo
+${PYSITELIB}/sqlite_utils/__main__.py
+${PYSITELIB}/sqlite_utils/__main__.pyc
+${PYSITELIB}/sqlite_utils/__main__.pyo
+${PYSITELIB}/sqlite_utils/cli.py
+${PYSITELIB}/sqlite_utils/cli.pyc
+${PYSITELIB}/sqlite_utils/cli.pyo
+${PYSITELIB}/sqlite_utils/db.py
+${PYSITELIB}/sqlite_utils/db.pyc
+${PYSITELIB}/sqlite_utils/db.pyo
+${PYSITELIB}/sqlite_utils/hookspecs.py
+${PYSITELIB}/sqlite_utils/hookspecs.pyc
+${PYSITELIB}/sqlite_utils/hookspecs.pyo
+${PYSITELIB}/sqlite_utils/plugins.py
+${PYSITELIB}/sqlite_utils/plugins.pyc
+${PYSITELIB}/sqlite_utils/plugins.pyo
+${PYSITELIB}/sqlite_utils/py.typed
+${PYSITELIB}/sqlite_utils/recipes.py
+${PYSITELIB}/sqlite_utils/recipes.pyc
+${PYSITELIB}/sqlite_utils/recipes.pyo
+${PYSITELIB}/sqlite_utils/utils.py
+${PYSITELIB}/sqlite_utils/utils.pyc
+${PYSITELIB}/sqlite_utils/utils.pyo
diff --git a/py-sqlite-utils/distinfo b/py-sqlite-utils/distinfo
new file mode 100644
index 0000000000..088dafbf2e
--- /dev/null
+++ b/py-sqlite-utils/distinfo
@@ -0,0 +1,5 @@
+$NetBSD$
+
+BLAKE2s (sqlite_utils-3.38.tar.gz) = 926cbd306394baf2a5a523be127cdfde06019944a5ae6e4aff85c970a4c08141
+SHA512 (sqlite_utils-3.38.tar.gz) = 998d0c0a3eab7ea359d7986f24be0d387c839020314cb6e66534f9f9c0f868b3552290b3263ab881fc956e8dca3bc06fc9083a17f2cd1c89b50a8e00d1f7b86b
+Size (sqlite_utils-3.38.tar.gz) = 214449 bytes


Home | Main Index | Thread Index | Old Index