v3.3.26: More straightforward approach to configure tests suites v3.3.25: Allow updating gandi rrset ttl. Previously, a rrset ttl could be set only when creating a new record Final customizations for hetzner dns api v1. The main fix is, that hetzner does not need the fqdn as record name. This leads to major errors like: record name=sub1.my-fqdn.tld --> record created with final name sub1.my-fqdn.tld.my-fqdn.tld Delete config.yml delete circleci integration. no longer necessary.
35 lines
1.2 KiB
Makefile
35 lines
1.2 KiB
Makefile
# $NetBSD: Makefile,v 1.48 2020/06/20 16:46:38 adam Exp $
|
|
|
|
DISTNAME= dns-lexicon-3.3.26
|
|
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/dns-//}
|
|
CATEGORIES= net python
|
|
MASTER_SITES= ${MASTER_SITE_PYPI:=d/dns-lexicon/}
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= https://github.com/AnalogJ/lexicon
|
|
COMMENT= Manipulate DNS records on various DNS providers
|
|
LICENSE= mit
|
|
|
|
DEPENDS+= ${PYPKGPREFIX}-cryptography-[0-9]*:../../security/py-cryptography
|
|
DEPENDS+= ${PYPKGPREFIX}-future-[0-9]*:../../devel/py-future
|
|
DEPENDS+= ${PYPKGPREFIX}-requests-[0-9]*:../../devel/py-requests
|
|
DEPENDS+= ${PYPKGPREFIX}-tldextract-[0-9]*:../../net/py-tldextract
|
|
DEPENDS+= ${PYPKGPREFIX}-yaml-[0-9]*:../../textproc/py-yaml
|
|
TEST_DEPENDS+= ${PYPKGPREFIX}-mock>=2.0.0:../../devel/py-mock
|
|
TEST_DEPENDS+= ${PYPKGPREFIX}-test-xdist>=1.26.1:../../devel/py-test-xdist
|
|
|
|
PYTHON_VERSIONED_DEPENDENCIES= test:test
|
|
|
|
MESSAGE_SUBST+= PYPKGPREFIX=${PYPKGPREFIX}
|
|
|
|
post-install:
|
|
cd ${DESTDIR}${PREFIX}/bin && \
|
|
${MV} lexicon lexicon-${PYVERSSUFFIX} || ${TRUE}
|
|
|
|
# Do not test providers
|
|
do-test:
|
|
cd ${WRKSRC}/lexicon && pytest-${PYVERSSUFFIX} tests/test_*
|
|
|
|
.include "../../lang/python/egg.mk"
|
|
.include "../../lang/python/versioned_dependencies.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|