pkgsrc-Changes archive

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

CVS commit: pkgsrc/net



Module Name:    pkgsrc
Committed By:   adam
Date:           Sat Feb 10 07:10:42 UTC 2024

Modified Files:
        pkgsrc/net: Makefile
Added Files:
        pkgsrc/net/py-cloudflare: DESCR Makefile PLIST distinfo
        pkgsrc/net/py-cloudflare/patches: patch-setup.py

Log Message:
py-cloudflare: added version 2.18.1

Python wrapper for the Cloudflare v4 API.


To generate a diff of this commit:
cvs rdiff -u -r1.1558 -r1.1559 pkgsrc/net/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/net/py-cloudflare/DESCR \
    pkgsrc/net/py-cloudflare/Makefile pkgsrc/net/py-cloudflare/PLIST \
    pkgsrc/net/py-cloudflare/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/net/py-cloudflare/patches/patch-setup.py

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

Modified files:

Index: pkgsrc/net/Makefile
diff -u pkgsrc/net/Makefile:1.1558 pkgsrc/net/Makefile:1.1559
--- pkgsrc/net/Makefile:1.1558  Fri Jan 26 10:20:20 2024
+++ pkgsrc/net/Makefile Sat Feb 10 07:10:41 2024
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1558 2024/01/26 10:20:20 wiz Exp $
+# $NetBSD: Makefile,v 1.1559 2024/02/10 07:10:41 adam Exp $
 #
 
 COMMENT=       Networking tools
@@ -711,6 +711,7 @@ SUBDIR+=    py-boto3
 SUBDIR+=       py-botocore
 SUBDIR+=       py-cares
 SUBDIR+=       py-celery
+SUBDIR+=       py-cloudflare
 SUBDIR+=       py-comm
 SUBDIR+=       py-cymruwhois
 SUBDIR+=       py-digitalocean

Added files:

Index: pkgsrc/net/py-cloudflare/DESCR
diff -u /dev/null pkgsrc/net/py-cloudflare/DESCR:1.1
--- /dev/null   Sat Feb 10 07:10:42 2024
+++ pkgsrc/net/py-cloudflare/DESCR      Sat Feb 10 07:10:41 2024
@@ -0,0 +1 @@
+Python wrapper for the Cloudflare v4 API.
Index: pkgsrc/net/py-cloudflare/Makefile
diff -u /dev/null pkgsrc/net/py-cloudflare/Makefile:1.1
--- /dev/null   Sat Feb 10 07:10:42 2024
+++ pkgsrc/net/py-cloudflare/Makefile   Sat Feb 10 07:10:41 2024
@@ -0,0 +1,31 @@
+# $NetBSD: Makefile,v 1.1 2024/02/10 07:10:41 adam Exp $
+
+DISTNAME=      cloudflare-2.18.1
+PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES=    net python
+MASTER_SITES=  ${MASTER_SITE_PYPI:=c/cloudflare/}
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/cloudflare/python-cloudflare
+COMMENT=       Python wrapper for the Cloudflare v4 API
+LICENSE=       mit
+
+TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools
+TOOL_DEPENDS+= ${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel
+DEPENDS+=      ${PYPKGPREFIX}-jsonlines-[0-9]*:../../textproc/py-jsonlines
+DEPENDS+=      ${PYPKGPREFIX}-requests-[0-9]*:../../devel/py-requests
+DEPENDS+=      ${PYPKGPREFIX}-yaml-[0-9]*:../../textproc/py-yaml
+
+USE_LANGUAGES= # none
+
+PYTHON_VERSIONS_INCOMPATIBLE=  27
+
+INSTALLATION_DIRS+=    ${PKGMANDIR}/man1
+
+post-install:
+       cd ${DESTDIR}${PREFIX}/bin && ${MV} cli4 cli4-${PYVERSSUFFIX} || ${TRUE}
+       ${INSTALL_MAN} ${WRKSRC}/cli4/cli4.1 \
+               ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/cli4-${PYVERSSUFFIX}.1
+
+.include "../../lang/python/wheel.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/net/py-cloudflare/PLIST
diff -u /dev/null pkgsrc/net/py-cloudflare/PLIST:1.1
--- /dev/null   Sat Feb 10 07:10:42 2024
+++ pkgsrc/net/py-cloudflare/PLIST      Sat Feb 10 07:10:41 2024
@@ -0,0 +1,230 @@
+@comment $NetBSD: PLIST,v 1.1 2024/02/10 07:10:41 adam Exp $
+bin/cli4-${PYVERSSUFFIX}
+${PYSITELIB}/${WHEEL_INFODIR}/LICENSE
+${PYSITELIB}/${WHEEL_INFODIR}/METADATA
+${PYSITELIB}/${WHEEL_INFODIR}/RECORD
+${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
+${PYSITELIB}/${WHEEL_INFODIR}/entry_points.txt
+${PYSITELIB}/${WHEEL_INFODIR}/top_level.txt
+${PYSITELIB}/CloudFlare/__init__.py
+${PYSITELIB}/CloudFlare/__init__.pyc
+${PYSITELIB}/CloudFlare/__init__.pyo
+${PYSITELIB}/CloudFlare/api_decode_from_openapi.py
+${PYSITELIB}/CloudFlare/api_decode_from_openapi.pyc
+${PYSITELIB}/CloudFlare/api_decode_from_openapi.pyo
+${PYSITELIB}/CloudFlare/api_extras.py
+${PYSITELIB}/CloudFlare/api_extras.pyc
+${PYSITELIB}/CloudFlare/api_extras.pyo
+${PYSITELIB}/CloudFlare/api_v4.py
+${PYSITELIB}/CloudFlare/api_v4.pyc
+${PYSITELIB}/CloudFlare/api_v4.pyo
+${PYSITELIB}/CloudFlare/cloudflare.py
+${PYSITELIB}/CloudFlare/cloudflare.pyc
+${PYSITELIB}/CloudFlare/cloudflare.pyo
+${PYSITELIB}/CloudFlare/exceptions.py
+${PYSITELIB}/CloudFlare/exceptions.pyc
+${PYSITELIB}/CloudFlare/exceptions.pyo
+${PYSITELIB}/CloudFlare/logging_helper.py
+${PYSITELIB}/CloudFlare/logging_helper.pyc
+${PYSITELIB}/CloudFlare/logging_helper.pyo
+${PYSITELIB}/CloudFlare/network.py
+${PYSITELIB}/CloudFlare/network.pyc
+${PYSITELIB}/CloudFlare/network.pyo
+${PYSITELIB}/CloudFlare/read_configs.py
+${PYSITELIB}/CloudFlare/read_configs.pyc
+${PYSITELIB}/CloudFlare/read_configs.pyo
+${PYSITELIB}/CloudFlare/tests/__init__.py
+${PYSITELIB}/CloudFlare/tests/__init__.pyc
+${PYSITELIB}/CloudFlare/tests/__init__.pyo
+${PYSITELIB}/CloudFlare/tests/test_add.py
+${PYSITELIB}/CloudFlare/tests/test_add.pyc
+${PYSITELIB}/CloudFlare/tests/test_add.pyo
+${PYSITELIB}/CloudFlare/tests/test_api_dump.py
+${PYSITELIB}/CloudFlare/tests/test_api_dump.pyc
+${PYSITELIB}/CloudFlare/tests/test_api_dump.pyo
+${PYSITELIB}/CloudFlare/tests/test_certificates.py
+${PYSITELIB}/CloudFlare/tests/test_certificates.pyc
+${PYSITELIB}/CloudFlare/tests/test_certificates.pyo
+${PYSITELIB}/CloudFlare/tests/test_cloudflare.py
+${PYSITELIB}/CloudFlare/tests/test_cloudflare.pyc
+${PYSITELIB}/CloudFlare/tests/test_cloudflare.pyo
+${PYSITELIB}/CloudFlare/tests/test_cloudflare_calls.py
+${PYSITELIB}/CloudFlare/tests/test_cloudflare_calls.pyc
+${PYSITELIB}/CloudFlare/tests/test_cloudflare_calls.pyo
+${PYSITELIB}/CloudFlare/tests/test_dns_import_export.py
+${PYSITELIB}/CloudFlare/tests/test_dns_import_export.pyc
+${PYSITELIB}/CloudFlare/tests/test_dns_import_export.pyo
+${PYSITELIB}/CloudFlare/tests/test_dns_records.py
+${PYSITELIB}/CloudFlare/tests/test_dns_records.pyc
+${PYSITELIB}/CloudFlare/tests/test_dns_records.pyo
+${PYSITELIB}/CloudFlare/tests/test_graphql.py
+${PYSITELIB}/CloudFlare/tests/test_graphql.pyc
+${PYSITELIB}/CloudFlare/tests/test_graphql.pyo
+${PYSITELIB}/CloudFlare/tests/test_images_v2_direct_upload.py
+${PYSITELIB}/CloudFlare/tests/test_images_v2_direct_upload.pyc
+${PYSITELIB}/CloudFlare/tests/test_images_v2_direct_upload.pyo
+${PYSITELIB}/CloudFlare/tests/test_ips.py
+${PYSITELIB}/CloudFlare/tests/test_ips.pyc
+${PYSITELIB}/CloudFlare/tests/test_ips.pyo
+${PYSITELIB}/CloudFlare/tests/test_issue114.py
+${PYSITELIB}/CloudFlare/tests/test_issue114.pyc
+${PYSITELIB}/CloudFlare/tests/test_issue114.pyo
+${PYSITELIB}/CloudFlare/tests/test_loa_documents.py
+${PYSITELIB}/CloudFlare/tests/test_loa_documents.pyc
+${PYSITELIB}/CloudFlare/tests/test_loa_documents.pyo
+${PYSITELIB}/CloudFlare/tests/test_load_balancers.py
+${PYSITELIB}/CloudFlare/tests/test_load_balancers.pyc
+${PYSITELIB}/CloudFlare/tests/test_load_balancers.pyo
+${PYSITELIB}/CloudFlare/tests/test_log_received.py
+${PYSITELIB}/CloudFlare/tests/test_log_received.pyc
+${PYSITELIB}/CloudFlare/tests/test_log_received.pyo
+${PYSITELIB}/CloudFlare/tests/test_paging_thru_zones.py
+${PYSITELIB}/CloudFlare/tests/test_paging_thru_zones.pyc
+${PYSITELIB}/CloudFlare/tests/test_paging_thru_zones.pyo
+${PYSITELIB}/CloudFlare/tests/test_radar_returning_csv.py
+${PYSITELIB}/CloudFlare/tests/test_radar_returning_csv.pyc
+${PYSITELIB}/CloudFlare/tests/test_radar_returning_csv.pyo
+${PYSITELIB}/CloudFlare/tests/test_rulesets.py
+${PYSITELIB}/CloudFlare/tests/test_rulesets.pyc
+${PYSITELIB}/CloudFlare/tests/test_rulesets.pyo
+${PYSITELIB}/CloudFlare/tests/test_urlscanner.py
+${PYSITELIB}/CloudFlare/tests/test_urlscanner.pyc
+${PYSITELIB}/CloudFlare/tests/test_urlscanner.pyo
+${PYSITELIB}/CloudFlare/tests/test_waiting_room.py
+${PYSITELIB}/CloudFlare/tests/test_waiting_room.pyc
+${PYSITELIB}/CloudFlare/tests/test_waiting_room.pyo
+${PYSITELIB}/CloudFlare/tests/test_workers.py
+${PYSITELIB}/CloudFlare/tests/test_workers.pyc
+${PYSITELIB}/CloudFlare/tests/test_workers.pyo
+${PYSITELIB}/CloudFlare/utils.py
+${PYSITELIB}/CloudFlare/utils.pyc
+${PYSITELIB}/CloudFlare/utils.pyo
+${PYSITELIB}/cli4/__init__.py
+${PYSITELIB}/cli4/__init__.pyc
+${PYSITELIB}/cli4/__init__.pyo
+${PYSITELIB}/cli4/__main__.py
+${PYSITELIB}/cli4/__main__.pyc
+${PYSITELIB}/cli4/__main__.pyo
+${PYSITELIB}/cli4/cli4.1
+${PYSITELIB}/cli4/cli4.py
+${PYSITELIB}/cli4/cli4.pyc
+${PYSITELIB}/cli4/cli4.pyo
+${PYSITELIB}/cli4/converters.py
+${PYSITELIB}/cli4/converters.pyc
+${PYSITELIB}/cli4/converters.pyo
+${PYSITELIB}/cli4/dump.py
+${PYSITELIB}/cli4/dump.pyc
+${PYSITELIB}/cli4/dump.pyo
+${PYSITELIB}/cli4/examples.py
+${PYSITELIB}/cli4/examples.pyc
+${PYSITELIB}/cli4/examples.pyo
+${PYSITELIB}/cli4/myjsonlines.py
+${PYSITELIB}/cli4/myjsonlines.pyc
+${PYSITELIB}/cli4/myjsonlines.pyo
+${PYSITELIB}/cli4/myyaml.py
+${PYSITELIB}/cli4/myyaml.pyc
+${PYSITELIB}/cli4/myyaml.pyo
+${PYSITELIB}/examples/__init__.py
+${PYSITELIB}/examples/__init__.pyc
+${PYSITELIB}/examples/__init__.pyo
+${PYSITELIB}/examples/example_account_rules_lists_items.py
+${PYSITELIB}/examples/example_account_rules_lists_items.pyc
+${PYSITELIB}/examples/example_account_rules_lists_items.pyo
+${PYSITELIB}/examples/example_ai_images.py
+${PYSITELIB}/examples/example_ai_images.pyc
+${PYSITELIB}/examples/example_ai_images.pyo
+${PYSITELIB}/examples/example_ai_speechrecognition.py
+${PYSITELIB}/examples/example_ai_speechrecognition.pyc
+${PYSITELIB}/examples/example_ai_speechrecognition.pyo
+${PYSITELIB}/examples/example_ai_translate.py
+${PYSITELIB}/examples/example_ai_translate.pyc
+${PYSITELIB}/examples/example_ai_translate.pyo
+${PYSITELIB}/examples/example_always_use_https.py
+${PYSITELIB}/examples/example_always_use_https.pyc
+${PYSITELIB}/examples/example_always_use_https.pyo
+${PYSITELIB}/examples/example_are_zones_ipv6.py
+${PYSITELIB}/examples/example_are_zones_ipv6.pyc
+${PYSITELIB}/examples/example_are_zones_ipv6.pyo
+${PYSITELIB}/examples/example_are_zones_ipv6_simple.py
+${PYSITELIB}/examples/example_are_zones_ipv6_simple.pyc
+${PYSITELIB}/examples/example_are_zones_ipv6_simple.pyo
+${PYSITELIB}/examples/example_bot_management.py
+${PYSITELIB}/examples/example_bot_management.pyc
+${PYSITELIB}/examples/example_bot_management.pyo
+${PYSITELIB}/examples/example_certificates.py
+${PYSITELIB}/examples/example_certificates.pyc
+${PYSITELIB}/examples/example_certificates.pyo
+${PYSITELIB}/examples/example_create_zone_and_populate.py
+${PYSITELIB}/examples/example_create_zone_and_populate.pyc
+${PYSITELIB}/examples/example_create_zone_and_populate.pyo
+${PYSITELIB}/examples/example_custom_hostnames.py
+${PYSITELIB}/examples/example_custom_hostnames.pyc
+${PYSITELIB}/examples/example_custom_hostnames.pyo
+${PYSITELIB}/examples/example_delete_zone_entry.py
+${PYSITELIB}/examples/example_delete_zone_entry.pyc
+${PYSITELIB}/examples/example_delete_zone_entry.pyo
+${PYSITELIB}/examples/example_dns_export.py
+${PYSITELIB}/examples/example_dns_export.pyc
+${PYSITELIB}/examples/example_dns_export.pyo
+${PYSITELIB}/examples/example_dns_import.py
+${PYSITELIB}/examples/example_dns_import.pyc
+${PYSITELIB}/examples/example_dns_import.pyo
+${PYSITELIB}/examples/example_dnssec_settings.py
+${PYSITELIB}/examples/example_dnssec_settings.pyc
+${PYSITELIB}/examples/example_dnssec_settings.pyo
+${PYSITELIB}/examples/example_firewall_rules.py
+${PYSITELIB}/examples/example_firewall_rules.pyc
+${PYSITELIB}/examples/example_firewall_rules.pyo
+${PYSITELIB}/examples/example_graphql.py
+${PYSITELIB}/examples/example_graphql.pyc
+${PYSITELIB}/examples/example_graphql.pyo
+${PYSITELIB}/examples/example_graphql.sh
+${PYSITELIB}/examples/example_images_v2_direct_upload.py
+${PYSITELIB}/examples/example_images_v2_direct_upload.pyc
+${PYSITELIB}/examples/example_images_v2_direct_upload.pyo
+${PYSITELIB}/examples/example_ips.py
+${PYSITELIB}/examples/example_ips.pyc
+${PYSITELIB}/examples/example_ips.pyo
+${PYSITELIB}/examples/example_list_api_from_web.py
+${PYSITELIB}/examples/example_list_api_from_web.pyc
+${PYSITELIB}/examples/example_list_api_from_web.pyo
+${PYSITELIB}/examples/example_page_rules.py
+${PYSITELIB}/examples/example_page_rules.pyc
+${PYSITELIB}/examples/example_page_rules.pyo
+${PYSITELIB}/examples/example_page_rules.sh
+${PYSITELIB}/examples/example_paging_thru_zones.py
+${PYSITELIB}/examples/example_paging_thru_zones.pyc
+${PYSITELIB}/examples/example_paging_thru_zones.pyo
+${PYSITELIB}/examples/example_paging_thru_zones.sh
+${PYSITELIB}/examples/example_proxied.py
+${PYSITELIB}/examples/example_proxied.pyc
+${PYSITELIB}/examples/example_proxied.pyo
+${PYSITELIB}/examples/example_settings.py
+${PYSITELIB}/examples/example_settings.pyc
+${PYSITELIB}/examples/example_settings.pyo
+${PYSITELIB}/examples/example_show_zones_email.py
+${PYSITELIB}/examples/example_show_zones_email.pyc
+${PYSITELIB}/examples/example_show_zones_email.pyo
+${PYSITELIB}/examples/example_time_calls.py
+${PYSITELIB}/examples/example_time_calls.pyc
+${PYSITELIB}/examples/example_time_calls.pyo
+${PYSITELIB}/examples/example_update_dynamic_dns.py
+${PYSITELIB}/examples/example_update_dynamic_dns.pyc
+${PYSITELIB}/examples/example_update_dynamic_dns.pyo
+${PYSITELIB}/examples/example_user.py
+${PYSITELIB}/examples/example_user.pyc
+${PYSITELIB}/examples/example_user.pyo
+${PYSITELIB}/examples/example_user_tokens.py
+${PYSITELIB}/examples/example_user_tokens.pyc
+${PYSITELIB}/examples/example_user_tokens.pyo
+${PYSITELIB}/examples/example_with_usage.py
+${PYSITELIB}/examples/example_with_usage.pyc
+${PYSITELIB}/examples/example_with_usage.pyo
+${PYSITELIB}/examples/example_zone_purge_cache.py
+${PYSITELIB}/examples/example_zone_purge_cache.pyc
+${PYSITELIB}/examples/example_zone_purge_cache.pyo
+${PYSITELIB}/examples/example_zone_search.sh
+${PYSITELIB}/examples/example_zones.py
+${PYSITELIB}/examples/example_zones.pyc
+${PYSITELIB}/examples/example_zones.pyo
+man/man1/cli4-${PYVERSSUFFIX}.1
Index: pkgsrc/net/py-cloudflare/distinfo
diff -u /dev/null pkgsrc/net/py-cloudflare/distinfo:1.1
--- /dev/null   Sat Feb 10 07:10:42 2024
+++ pkgsrc/net/py-cloudflare/distinfo   Sat Feb 10 07:10:42 2024
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2024/02/10 07:10:42 adam Exp $
+
+BLAKE2s (cloudflare-2.18.1.tar.gz) = eaef4f5a9f23476f16412f1e158b62c4ff184d4200df9613d27c8329299ed6a4
+SHA512 (cloudflare-2.18.1.tar.gz) = e78ac458208b79345e771bed5d19947e282130191fed6792029080b4f4e84fc23af5b4a5efc6730c5c1334d429bc2f8ceb4db6678b7a5b21f7845b0f42ab112c
+Size (cloudflare-2.18.1.tar.gz) = 110082 bytes
+SHA1 (patch-setup.py) = d7cf7b1463a7a8c1033a6af14efe624f0705ab7e

Index: pkgsrc/net/py-cloudflare/patches/patch-setup.py
diff -u /dev/null pkgsrc/net/py-cloudflare/patches/patch-setup.py:1.1
--- /dev/null   Sat Feb 10 07:10:42 2024
+++ pkgsrc/net/py-cloudflare/patches/patch-setup.py     Sat Feb 10 07:10:42 2024
@@ -0,0 +1,14 @@
+$NetBSD: patch-setup.py,v 1.1 2024/02/10 07:10:42 adam Exp $
+
+Install man in Makefile.
+
+--- setup.py.orig      2024-02-10 07:06:07.491902451 +0000
++++ setup.py
+@@ -29,7 +29,6 @@ def main():
+         packages=['CloudFlare', 'CloudFlare/tests', 'cli4', 'examples'],
+         test_suite="CloudFlare.tests",
+         include_package_data=True,
+-        data_files=[('share/man/man1', ['cli4/cli4.1'])],
+         install_requires=['requests', 'pyyaml', 'jsonlines'],
+         keywords='cloudflare',
+         entry_points={



Home | Main Index | Thread Index | Old Index