Sat Feb 10 07:10:42 2024 UTC (106d)
py-cloudflare: added version 2.18.1
Python wrapper for the Cloudflare v4 API.
(adam)
diff -r1.1558 -r1.1559 pkgsrc/net/Makefile
diff -r0 -r1.1 pkgsrc/net/py-cloudflare/DESCR
diff -r0 -r1.1 pkgsrc/net/py-cloudflare/Makefile
diff -r0 -r1.1 pkgsrc/net/py-cloudflare/PLIST
diff -r0 -r1.1 pkgsrc/net/py-cloudflare/distinfo
diff -r0 -r1.1 pkgsrc/net/py-cloudflare/patches/patch-setup.py
--- pkgsrc/net/Makefile 2024/01/26 10:20:20 1.1558
+++ pkgsrc/net/Makefile 2024/02/10 07:10:41 1.1559
| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | # $NetBSD: Makefile,v 1.1558 2024/01/26 10:20:20 wiz Exp $ | | 1 | # $NetBSD: Makefile,v 1.1559 2024/02/10 07:10:41 adam Exp $ |
2 | # | | 2 | # |
3 | | | 3 | |
4 | COMMENT= Networking tools | | 4 | COMMENT= Networking tools |
5 | | | 5 | |
6 | SUBDIR+= 3proxy | | 6 | SUBDIR+= 3proxy |
7 | SUBDIR+= 6tunnel | | 7 | SUBDIR+= 6tunnel |
8 | SUBDIR+= DarwinStreamingServer | | 8 | SUBDIR+= DarwinStreamingServer |
9 | SUBDIR+= GeoIP | | 9 | SUBDIR+= GeoIP |
10 | SUBDIR+= Geomyidae | | 10 | SUBDIR+= Geomyidae |
11 | SUBDIR+= IglooFTP | | 11 | SUBDIR+= IglooFTP |
12 | SUBDIR+= ORBit2 | | 12 | SUBDIR+= ORBit2 |
13 | SUBDIR+= R-pbdZMQ | | 13 | SUBDIR+= R-pbdZMQ |
14 | SUBDIR+= R-pingr | | 14 | SUBDIR+= R-pingr |
| @@ -701,26 +701,27 @@ SUBDIR+= py-aioresponses | | | @@ -701,26 +701,27 @@ SUBDIR+= py-aioresponses |
701 | SUBDIR+= py-aiormq | | 701 | SUBDIR+= py-aiormq |
702 | SUBDIR+= py-aiorpcX | | 702 | SUBDIR+= py-aiorpcX |
703 | SUBDIR+= py-amqp | | 703 | SUBDIR+= py-amqp |
704 | SUBDIR+= py-apache-libcloud | | 704 | SUBDIR+= py-apache-libcloud |
705 | SUBDIR+= py-asyncio-nats-client | | 705 | SUBDIR+= py-asyncio-nats-client |
706 | SUBDIR+= py-awscli | | 706 | SUBDIR+= py-awscli |
707 | SUBDIR+= py-beanstalkc | | 707 | SUBDIR+= py-beanstalkc |
708 | SUBDIR+= py-bonjour | | 708 | SUBDIR+= py-bonjour |
709 | SUBDIR+= py-boto | | 709 | SUBDIR+= py-boto |
710 | SUBDIR+= py-boto3 | | 710 | SUBDIR+= py-boto3 |
711 | SUBDIR+= py-botocore | | 711 | SUBDIR+= py-botocore |
712 | SUBDIR+= py-cares | | 712 | SUBDIR+= py-cares |
713 | SUBDIR+= py-celery | | 713 | SUBDIR+= py-celery |
| | | 714 | SUBDIR+= py-cloudflare |
714 | SUBDIR+= py-comm | | 715 | SUBDIR+= py-comm |
715 | SUBDIR+= py-cymruwhois | | 716 | SUBDIR+= py-cymruwhois |
716 | SUBDIR+= py-digitalocean | | 717 | SUBDIR+= py-digitalocean |
717 | SUBDIR+= py-dns | | 718 | SUBDIR+= py-dns |
718 | SUBDIR+= py-dns1 | | 719 | SUBDIR+= py-dns1 |
719 | SUBDIR+= py-dnsdiag | | 720 | SUBDIR+= py-dnsdiag |
720 | SUBDIR+= py-dpkt | | 721 | SUBDIR+= py-dpkt |
721 | SUBDIR+= py-dropbox | | 722 | SUBDIR+= py-dropbox |
722 | SUBDIR+= py-ec2instanceconnectcli | | 723 | SUBDIR+= py-ec2instanceconnectcli |
723 | SUBDIR+= py-ephemeral_port_reserve | | 724 | SUBDIR+= py-ephemeral_port_reserve |
724 | SUBDIR+= py-flower | | 725 | SUBDIR+= py-flower |
725 | SUBDIR+= py-foolscap | | 726 | SUBDIR+= py-foolscap |
726 | SUBDIR+= py-fritzconnection | | 727 | SUBDIR+= py-fritzconnection |
Python wrapper for the Cloudflare v4 API.
# $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
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"
@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
$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
$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={