pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/converters/py-cairosvg Drop patches for Python 2.7, no...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/4cde3c2457b6
branches:  trunk
changeset: 378027:4cde3c2457b6
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Mon Mar 26 13:05:43 2018 +0000

description:
Drop patches for Python 2.7, now that it is a separate package.

diffstat:

 converters/py-cairosvg/Makefile                               |  12 +++++----
 converters/py-cairosvg/distinfo                               |   4 +--
 converters/py-cairosvg/patches/patch-cairosvg_____init____.py |  11 ---------
 converters/py-cairosvg/patches/patch-setup.py                 |  13 -----------
 4 files changed, 8 insertions(+), 32 deletions(-)

diffs (71 lines):

diff -r 82b8eb8561e6 -r 4cde3c2457b6 converters/py-cairosvg/Makefile
--- a/converters/py-cairosvg/Makefile   Mon Mar 26 11:18:48 2018 +0000
+++ b/converters/py-cairosvg/Makefile   Mon Mar 26 13:05:43 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.12 2017/12/10 15:58:36 adam Exp $
+# $NetBSD: Makefile,v 1.13 2018/03/26 13:05:43 joerg Exp $
 
 DISTNAME=      CairoSVG-2.1.2
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:tl}
@@ -15,10 +15,12 @@
 DEPENDS+=      ${PYPKGPREFIX}-cssselect2-[0-9]*:../../textproc/py-cssselect2
 DEPENDS+=      ${PYPKGPREFIX}-defusedxml-[0-9]*:../../textproc/py-defusedxml
 DEPENDS+=      ${PYPKGPREFIX}-tinycss2-[0-9]*:../../textproc/py-tinycss2
-BUILD_DEPENDS+=        ${PYPKGPREFIX}-test-cov-[0-9]*:../../devel/py-test-cov
-BUILD_DEPENDS+=        ${PYPKGPREFIX}-test-flake8-[0-9]*:../../devel/py-test-flake8
-BUILD_DEPENDS+=        ${PYPKGPREFIX}-test-isort-[0-9]*:../../devel/py-test-isort
-BUILD_DEPENDS+=        ${PYPKGPREFIX}-test-runner-[0-9]*:../../devel/py-test-runner
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-cov-[0-9]*:../../devel/py-test-cov
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-flake8-[0-9]*:../../devel/py-test-flake8
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-isort-[0-9]*:../../devel/py-test-isort
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-runner-[0-9]*:../../devel/py-test-runner
+
+PYTHON_VERSIONS_INCOMPATIBLE=  27
 
 USE_LANGUAGES= # none
 
diff -r 82b8eb8561e6 -r 4cde3c2457b6 converters/py-cairosvg/distinfo
--- a/converters/py-cairosvg/distinfo   Mon Mar 26 11:18:48 2018 +0000
+++ b/converters/py-cairosvg/distinfo   Mon Mar 26 13:05:43 2018 +0000
@@ -1,8 +1,6 @@
-$NetBSD: distinfo,v 1.11 2017/12/10 15:58:36 adam Exp $
+$NetBSD: distinfo,v 1.12 2018/03/26 13:05:43 joerg Exp $
 
 SHA1 (CairoSVG-2.1.2.tar.gz) = 7d96e04bf9e65e73f5d17ff64cb0514d42b04787
 RMD160 (CairoSVG-2.1.2.tar.gz) = c94e605a6061d767a97b32f3feae9fc98817f9d2
 SHA512 (CairoSVG-2.1.2.tar.gz) = 8a543c5043c8bf3ba73ec418def5a93e37314aed7ffbc9fc86d3cb89003f5e795f0607bdff5f0f77125ef8aee29fc4337bfb9b18265fe5cda16740391f100d49
 Size (CairoSVG-2.1.2.tar.gz) = 39814 bytes
-SHA1 (patch-cairosvg_____init____.py) = 1af4ecc99a2de15c582e35636add9e5707eacf5c
-SHA1 (patch-setup.py) = f47acf7b801518c9be2df2feaedb44554f264ad8
diff -r 82b8eb8561e6 -r 4cde3c2457b6 converters/py-cairosvg/patches/patch-cairosvg_____init____.py
--- a/converters/py-cairosvg/patches/patch-cairosvg_____init____.py     Mon Mar 26 11:18:48 2018 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,11 +0,0 @@
-$NetBSD: patch-cairosvg_____init____.py,v 1.1 2017/09/04 15:56:33 joerg Exp $
-
---- cairosvg/__init__.py.orig  2017-08-27 00:23:26.754329800 +0000
-+++ cairosvg/__init__.py
-@@ -1,5 +1,5 @@
- # This file is part of CairoSVG
--# Copyright © 2010-2015 Kozea
-+# Copyright (C) 2010-2015 Kozea
- #
- # This library is free software: you can redistribute it and/or modify it under
- # the terms of the GNU Lesser General Public License as published by the Free
diff -r 82b8eb8561e6 -r 4cde3c2457b6 converters/py-cairosvg/patches/patch-setup.py
--- a/converters/py-cairosvg/patches/patch-setup.py     Mon Mar 26 11:18:48 2018 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,13 +0,0 @@
-$NetBSD: patch-setup.py,v 1.1 2017/08/25 20:01:34 joerg Exp $
-
---- setup.py.orig      2017-08-25 16:01:40.820727909 +0000
-+++ setup.py
-@@ -21,7 +21,7 @@ from os import path
- from setuptools import setup
- 
- init_path = path.join(path.dirname(__file__), 'cairosvg', '__init__.py')
--with open(init_path, 'r', encoding='utf-8') as fd:
-+with open(init_path, 'r') as fd:
-     version = re.search("__version__ = '([^']+)'", fd.read().strip()).group(1)
- 
- needs_pytest = {'pytest', 'test', 'ptr'}.intersection(sys.argv)



Home | Main Index | Thread Index | Old Index