diff options
author | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2021-03-03 18:13:01 +0000 |
---|---|---|
committer | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2021-03-03 18:13:01 +0000 |
commit | 4e3370f404e9b3b131eab1e1ba4cc711684c7783 (patch) | |
tree | 49bedb3fef096dd398c1f6ed6debcec2961e9226 /textproc/py-tomlkit | |
parent | 4bd71aa30cfb7f8dd2ba4f556980d0a947234c54 (diff) | |
download | ports-4e3370f404e9b3b131eab1e1ba4cc711684c7783.tar.gz ports-4e3370f404e9b3b131eab1e1ba4cc711684c7783.zip |
Move tests under tomlkit namespace to avoid conflicts with other ports
- Bump PORTREVISION for package change
Notes
Notes:
svn path=/head/; revision=567189
Diffstat (limited to 'textproc/py-tomlkit')
-rw-r--r-- | textproc/py-tomlkit/Makefile | 4 | ||||
-rw-r--r-- | textproc/py-tomlkit/files/patch-setup.py | 11 |
2 files changed, 15 insertions, 0 deletions
diff --git a/textproc/py-tomlkit/Makefile b/textproc/py-tomlkit/Makefile index 849baefd91b0..d3a0efb95ecc 100644 --- a/textproc/py-tomlkit/Makefile +++ b/textproc/py-tomlkit/Makefile @@ -3,6 +3,7 @@ PORTNAME= tomlkit PORTVERSION= 0.7.0 +PORTREVISION= 1 CATEGORIES= textproc python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -18,4 +19,7 @@ USE_PYTHON= autoplist concurrent distutils NO_ARCH= yes +post-patch: + @${MV} ${WRKSRC}/tests ${WRKSRC}/tomlkit + .include <bsd.port.mk> diff --git a/textproc/py-tomlkit/files/patch-setup.py b/textproc/py-tomlkit/files/patch-setup.py new file mode 100644 index 000000000000..8674b1adc0d9 --- /dev/null +++ b/textproc/py-tomlkit/files/patch-setup.py @@ -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 = \ + {'': ['*'], |