pkgsrc-Changes archive

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

CVS commit: pkgsrc/databases/py-agate-sql



Module Name:    pkgsrc
Committed By:   cheusov
Date:           Tue May 21 13:15:25 UTC 2024

Added Files:
        pkgsrc/databases/py-agate-sql: DESCR Makefile PLIST distinfo
        pkgsrc/databases/py-agate-sql/patches: patch-tests_test__agatesql.py

Log Message:
Add py-agate-sql:

agate-sql adds SQL read/write support to agate.

Important links:
    agate https://agate.rtfd.org
    Documentation: https://agate-sql.rtfd.org
    Repository: https://github.com/wireservice/agate-sql
    Issues: https://github.com/wireservice/agate-sql/issues


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/databases/py-agate-sql/DESCR \
    pkgsrc/databases/py-agate-sql/Makefile \
    pkgsrc/databases/py-agate-sql/PLIST \
    pkgsrc/databases/py-agate-sql/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/databases/py-agate-sql/patches/patch-tests_test__agatesql.py

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

Added files:

Index: pkgsrc/databases/py-agate-sql/DESCR
diff -u /dev/null pkgsrc/databases/py-agate-sql/DESCR:1.1
--- /dev/null   Tue May 21 13:15:25 2024
+++ pkgsrc/databases/py-agate-sql/DESCR Tue May 21 13:15:24 2024
@@ -0,0 +1,7 @@
+agate-sql adds SQL read/write support to agate.
+
+Important links:
+    agate https://agate.rtfd.org
+    Documentation: https://agate-sql.rtfd.org
+    Repository: https://github.com/wireservice/agate-sql
+    Issues: https://github.com/wireservice/agate-sql/issues
Index: pkgsrc/databases/py-agate-sql/Makefile
diff -u /dev/null pkgsrc/databases/py-agate-sql/Makefile:1.1
--- /dev/null   Tue May 21 13:15:25 2024
+++ pkgsrc/databases/py-agate-sql/Makefile      Tue May 21 13:15:24 2024
@@ -0,0 +1,24 @@
+# $NetBSD: Makefile,v 1.1 2024/05/21 13:15:24 cheusov Exp $
+
+DISTNAME=      agate-sql-0.7.2
+PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES=    databases python
+MASTER_SITES=  ${MASTER_SITE_PYPI:=a/agate-sql/}
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://agate-sql.readthedocs.io/
+COMMENT=       SQL read/write support to agate
+LICENSE=       mit
+
+TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools
+TOOL_DEPENDS+= ${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel
+DEPENDS+=      ${PYPKGPREFIX}-agate-[0-9]*:../../devel/py-agate
+DEPENDS+=      ${PYPKGPREFIX}-sqlalchemy-[0-9]*:../../databases/py-sqlalchemy
+DEPENDS+=      ${PYPKGPREFIX}-sqlalchemy-utils-[0-9]*:../../databases/py-sqlalchemy-utils
+
+USE_LANGUAGES= # none
+
+PYTHON_VERSIONS_INCOMPATIBLE=  27
+
+.include "../../lang/python/wheel.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/databases/py-agate-sql/PLIST
diff -u /dev/null pkgsrc/databases/py-agate-sql/PLIST:1.1
--- /dev/null   Tue May 21 13:15:25 2024
+++ pkgsrc/databases/py-agate-sql/PLIST Tue May 21 13:15:24 2024
@@ -0,0 +1,13 @@
+@comment $NetBSD: PLIST,v 1.1 2024/05/21 13:15:24 cheusov Exp $
+${PYSITELIB}/${WHEEL_INFODIR}/AUTHORS.rst
+${PYSITELIB}/${WHEEL_INFODIR}/COPYING
+${PYSITELIB}/${WHEEL_INFODIR}/METADATA
+${PYSITELIB}/${WHEEL_INFODIR}/RECORD
+${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
+${PYSITELIB}/${WHEEL_INFODIR}/top_level.txt
+${PYSITELIB}/agatesql/__init__.py
+${PYSITELIB}/agatesql/__init__.pyc
+${PYSITELIB}/agatesql/__init__.pyo
+${PYSITELIB}/agatesql/table.py
+${PYSITELIB}/agatesql/table.pyc
+${PYSITELIB}/agatesql/table.pyo
Index: pkgsrc/databases/py-agate-sql/distinfo
diff -u /dev/null pkgsrc/databases/py-agate-sql/distinfo:1.1
--- /dev/null   Tue May 21 13:15:25 2024
+++ pkgsrc/databases/py-agate-sql/distinfo      Tue May 21 13:15:24 2024
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2024/05/21 13:15:24 cheusov Exp $
+
+BLAKE2s (agate-sql-0.7.2.tar.gz) = 7f50452ab2cdf45de78336d54e4fe969fba9e8f5f39ffeda2fcea25e8b28213d
+SHA512 (agate-sql-0.7.2.tar.gz) = c24026d93479003672efaa04654719183eb69bd86d24916f2618ed88ebbe8b51f2dac3c6fcbfd3c18643fbab0a2564670909350e1379eca621ccd42ab411251e
+Size (agate-sql-0.7.2.tar.gz) = 13695 bytes
+SHA1 (patch-tests_test__agatesql.py) = 158fd19be1c60352b58d25396a146eda446af544

Index: pkgsrc/databases/py-agate-sql/patches/patch-tests_test__agatesql.py
diff -u /dev/null pkgsrc/databases/py-agate-sql/patches/patch-tests_test__agatesql.py:1.1
--- /dev/null   Tue May 21 13:15:25 2024
+++ pkgsrc/databases/py-agate-sql/patches/patch-tests_test__agatesql.py Tue May 21 13:15:24 2024
@@ -0,0 +1,16 @@
+$NetBSD: patch-tests_test__agatesql.py,v 1.1 2024/05/21 13:15:24 cheusov Exp $
+
+Cratedb python module is not a part of pkgsrc.
+That's why one test is disabled.
+
+--- tests/test_agatesql.py.orig        2024-01-09 23:17:02.000000000 +0000
++++ tests/test_agatesql.py
+@@ -166,7 +166,7 @@ class TestSQL(agate.AgateTestCase):
+         self.assertEqual(statement.replace('\t', '  '), dedent(expected))
+ 
+     def test_to_sql_create_statement_with_dialects(self):
+-        for dialect in ['crate', 'mssql', 'mysql', 'postgresql', 'sqlite']:
++        for dialect in ['mssql', 'mysql', 'postgresql', 'sqlite']:
+             self.table.to_sql_create_statement('test_table', dialect=dialect)
+ 
+     def test_to_sql_create_statement_zero_width(self):



Home | Main Index | Thread Index | Old Index