diff options
author | Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2023-06-30 15:05:10 +0800 |
---|---|---|
committer | Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2023-06-30 15:05:10 +0800 |
commit | e62ba962ba4d0186ab1dbdbef7863d9fab1dfd46 (patch) | |
tree | f9c5be725d0a8042df942692640fd5d1045462be /textproc/py-mistune0/files/patch-setup.py | |
parent | textproc/py-mistune: Update to 3.0.1 (diff) |
textproc/py-mistune0: Avoid runtime conflict with py-mistune
- Build and install mistune as mistune0
- Bump PORTREVISION for package change
PR: 263956
Diffstat (limited to 'textproc/py-mistune0/files/patch-setup.py')
-rw-r--r-- | textproc/py-mistune0/files/patch-setup.py | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/textproc/py-mistune0/files/patch-setup.py b/textproc/py-mistune0/files/patch-setup.py new file mode 100644 index 000000000000..0c6ba0c20482 --- /dev/null +++ b/textproc/py-mistune0/files/patch-setup.py @@ -0,0 +1,29 @@ +--- setup.py.orig 2018-10-11 06:57:07 UTC ++++ setup.py +@@ -1,6 +1,6 @@ + #!/usr/bin/env python + # coding: utf-8 +-import mistune ++import mistune0 + from setuptools import setup + + +@@ -10,15 +10,15 @@ def fread(filepath): + + + setup( +- name='mistune', +- version=mistune.__version__, ++ name='mistune0', ++ version=mistune0.__version__, + url='https://github.com/lepture/mistune', + author='Hsiaoming Yang', + author_email='me@lepture.com', + description='The fastest markdown parser in pure Python', + long_description=fread('README.rst'), + license='BSD', +- py_modules=['mistune'], ++ py_modules=['mistune0'], + zip_safe=False, + platforms='any', + tests_require=['nose'], |