Date: Friday, July 7, 2017 @ 06:14:17 Author: felixonmars Revision: 242640
upgpkg: certbot-dns-digitalocean 0.16.0-1 upstream new version Modified: certbot-dns-digitalocean/trunk/PKGBUILD Deleted: certbot-dns-digitalocean/trunk/python3.patch ---------------+ PKGBUILD | 15 ++++----------- python3.patch | 33 --------------------------------- 2 files changed, 4 insertions(+), 44 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2017-07-07 06:12:46 UTC (rev 242639) +++ PKGBUILD 2017-07-07 06:14:17 UTC (rev 242640) @@ -2,7 +2,7 @@ # Maintainer: Felix Yan <[email protected]> pkgname=certbot-dns-digitalocean -pkgver=0.15.0 +pkgver=0.16.0 pkgrel=1 pkgdesc="DigitalOcean DNS Authenticator plugin for Certbot" arch=('any') @@ -10,20 +10,13 @@ url="https://pypi.python.org/pypi/$pkgname" depends=("certbot=$pkgver" "python-acme=$pkgver" 'python-digitalocean' 'python-mock' 'python-setuptools' 'python-zope-interface') -source=("https://pypi.io/packages/source/c/$pkgname/$pkgname-$pkgver.tar.gz"{,.asc} - python3.patch) +source=("https://pypi.io/packages/source/c/$pkgname/$pkgname-$pkgver.tar.gz"{,.asc}) validpgpkeys=('148C30F6F7E429337A72D992B00B9CC82D7ADF2C' '1B41B758F9A78C7F444C20FA3E5B4152E3ADB1FD' 'A2CFB51FA275A7286234E7B24D17C995CD9775F2') -sha512sums=('5ebb5c1f291a03afb85fb5f45ec53f5795af8f5f28954be4e8c25624e28089c178f8dba26e5d1a8cabdffcd85629cb4b2410721b0aa4846835e52a9bc2f53699' - 'SKIP' - '7d61ce1ac31939ce5f0ea78ef45f74e6e22bc2a5c1348c98a7b1c9f7083eddd0a3448dec9c2d6ef9ea14e763d3fc6672e882bf1460e97770fba0e928ebc52266') +sha512sums=('24a21bee5ada80e9c32d94ed9159369611461661bcc7c6ecf016f58c3afd160754089bbce5941e34e7c08cdc354dc62e087d659da8bc15173730f08296a1f932' + 'SKIP') -prepare() { - cd "$srcdir"/$pkgname-$pkgver - patch -p2 -i ../python3.patch -} - build() { cd "$srcdir"/$pkgname-$pkgver python setup.py build Deleted: python3.patch =================================================================== --- python3.patch 2017-07-07 06:12:46 UTC (rev 242639) +++ python3.patch 2017-07-07 06:14:17 UTC (rev 242640) @@ -1,33 +0,0 @@ -From 41d11cc1e8610c046e9889931197ced07aa195c1 Mon Sep 17 00:00:00 2001 -From: Felix Yan <[email protected]> -Date: Sun, 11 Jun 2017 13:40:20 +0800 -Subject: [PATCH] Fix digitalocean plugin tests for Python 3 - -assertItemsEqual() doesn't exist in Python 3.x. Travis didn't fail because of some nose errors (so not all tests were run). ---- - .../certbot_dns_digitalocean/dns_digitalocean_test.py | 5 +++-- - 1 file changed, 3 insertions(+), 2 deletions(-) - -diff --git a/certbot-dns-digitalocean/certbot_dns_digitalocean/dns_digitalocean_test.py b/certbot-dns-digitalocean/certbot_dns_digitalocean/dns_digitalocean_test.py -index 7e97eed073..6ff76079b5 100644 ---- a/certbot-dns-digitalocean/certbot_dns_digitalocean/dns_digitalocean_test.py -+++ b/certbot-dns-digitalocean/certbot_dns_digitalocean/dns_digitalocean_test.py -@@ -2,6 +2,7 @@ - - import os - import unittest -+import six - - import digitalocean - import mock -@@ -133,8 +134,8 @@ def test_del_txt_record(self): - - correct_record_mock.destroy.assert_called() - -- self.assertItemsEqual(first_record_mock.destroy.call_args_list, []) -- self.assertItemsEqual(last_record_mock.destroy.call_args_list, []) -+ six.assertCountEqual(self, first_record_mock.destroy.call_args_list, []) -+ six.assertCountEqual(self, last_record_mock.destroy.call_args_list, []) - - def test_del_txt_record_error_finding_domain(self): - self.manager.get_all_domains.side_effect = API_ERROR
