svn commit: r567189 - in head/textproc/py-tomlkit: . files

Sunpoet Po-Chuan Hsieh sunpoet at FreeBSD.org
Wed Mar 3 18:13:06 UTC 2021


Author: sunpoet
Date: Wed Mar  3 18:13:01 2021
New Revision: 567189
URL: https://svnweb.freebsd.org/changeset/ports/567189

Log:
  Move tests under tomlkit namespace to avoid conflicts with other ports
  
  - Bump PORTREVISION for package change

Added:
  head/textproc/py-tomlkit/files/
  head/textproc/py-tomlkit/files/patch-setup.py   (contents, props changed)
Modified:
  head/textproc/py-tomlkit/Makefile

Modified: head/textproc/py-tomlkit/Makefile
==============================================================================
--- head/textproc/py-tomlkit/Makefile	Wed Mar  3 18:12:57 2021	(r567188)
+++ head/textproc/py-tomlkit/Makefile	Wed Mar  3 18:13:01 2021	(r567189)
@@ -3,6 +3,7 @@
 
 PORTNAME=	tomlkit
 PORTVERSION=	0.7.0
+PORTREVISION=	1
 CATEGORIES=	textproc python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -17,5 +18,8 @@ USES=		python:3.6+
 USE_PYTHON=	autoplist concurrent distutils
 
 NO_ARCH=	yes
+
+post-patch:
+	@${MV} ${WRKSRC}/tests ${WRKSRC}/tomlkit
 
 .include <bsd.port.mk>

Added: head/textproc/py-tomlkit/files/patch-setup.py
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/textproc/py-tomlkit/files/patch-setup.py	Wed Mar  3 18:13:01 2021	(r567189)
@@ -0,0 +1,11 @@
+--- setup.py.orig	2020-07-31 10:23:07 UTC
++++ setup.py
+@@ -2,7 +2,7 @@
+ from setuptools import setup
+ 
+ packages = \
+-['tests', 'tomlkit']
++['tomlkit']
+ 
+ package_data = \
+ {'': ['*'],


More information about the svn-ports-head mailing list