From fa8561f9b7c16be9b8c4046d3685be64e4b30ceb Mon Sep 17 00:00:00 2001 From: Tim Biermann Date: Sat, 2 Mar 2024 10:30:22 +0100 Subject: [PATCH] python3-mistune0: -> 0.8.4 --- python3-mistune0/.footprint | 18 +++++++++--------- python3-mistune0/.signature | 7 ++++--- python3-mistune0/Pkgfile | 9 +++++++-- python3-mistune0/patch-setup.py | 29 +++++++++++++++++++++++++++++ 4 files changed, 49 insertions(+), 14 deletions(-) create mode 100644 python3-mistune0/patch-setup.py diff --git a/python3-mistune0/.footprint b/python3-mistune0/.footprint index 852b8aa52..f5c697454 100644 --- a/python3-mistune0/.footprint +++ b/python3-mistune0/.footprint @@ -3,12 +3,12 @@ drwxr-xr-x root/root usr/lib/ drwxr-xr-x root/root usr/lib/python3.10/ drwxr-xr-x root/root usr/lib/python3.10/site-packages/ drwxr-xr-x root/root usr/lib/python3.10/site-packages/__pycache__/ --rw-r--r-- root/root usr/lib/python3.10/site-packages/__pycache__/mistune.cpython-310.opt-1.pyc --rw-r--r-- root/root usr/lib/python3.10/site-packages/__pycache__/mistune.cpython-310.pyc -drwxr-xr-x root/root usr/lib/python3.10/site-packages/mistune-0.8.4-py3.10.egg-info/ --rw-r--r-- root/root usr/lib/python3.10/site-packages/mistune-0.8.4-py3.10.egg-info/PKG-INFO --rw-r--r-- root/root usr/lib/python3.10/site-packages/mistune-0.8.4-py3.10.egg-info/SOURCES.txt --rw-r--r-- root/root usr/lib/python3.10/site-packages/mistune-0.8.4-py3.10.egg-info/dependency_links.txt --rw-r--r-- root/root usr/lib/python3.10/site-packages/mistune-0.8.4-py3.10.egg-info/not-zip-safe --rw-r--r-- root/root usr/lib/python3.10/site-packages/mistune-0.8.4-py3.10.egg-info/top_level.txt --rw-r--r-- root/root usr/lib/python3.10/site-packages/mistune.py +-rw-r--r-- root/root usr/lib/python3.10/site-packages/__pycache__/mistune0.cpython-310.opt-1.pyc +-rw-r--r-- root/root usr/lib/python3.10/site-packages/__pycache__/mistune0.cpython-310.pyc +drwxr-xr-x root/root usr/lib/python3.10/site-packages/mistune0-0.8.4-py3.10.egg-info/ +-rw-r--r-- root/root usr/lib/python3.10/site-packages/mistune0-0.8.4-py3.10.egg-info/PKG-INFO +-rw-r--r-- root/root usr/lib/python3.10/site-packages/mistune0-0.8.4-py3.10.egg-info/SOURCES.txt +-rw-r--r-- root/root usr/lib/python3.10/site-packages/mistune0-0.8.4-py3.10.egg-info/dependency_links.txt +-rw-r--r-- root/root usr/lib/python3.10/site-packages/mistune0-0.8.4-py3.10.egg-info/not-zip-safe +-rw-r--r-- root/root usr/lib/python3.10/site-packages/mistune0-0.8.4-py3.10.egg-info/top_level.txt +-rw-r--r-- root/root usr/lib/python3.10/site-packages/mistune0.py diff --git a/python3-mistune0/.signature b/python3-mistune0/.signature index d139b1e39..2e07b9a23 100644 --- a/python3-mistune0/.signature +++ b/python3-mistune0/.signature @@ -1,5 +1,6 @@ untrusted comment: verify with /etc/ports/contrib.pub -RWSagIOpLGJF36CBg1pxI7mxa2TSrZ56g7XRno+BiwwXSfsqaiADBNlkJ/bVPEwSmf6hp7awr+iWFIbYJa5wNXPmOowTFkhRdQ4= -SHA256 (Pkgfile) = 9d2c1173e19bdf5140032a35ce899a008b02a1a773525475e6bec5393c734964 -SHA256 (.footprint) = 4b3fd373ffb9dcf699bac6f4256570f961db2cc9e0ece44dfbadebddaaba2821 +RWSagIOpLGJF357lfcEj25linwErQK4FMEWVH4pZIw654WEpsCqJXfeHURxj1+8BwCtnX4iFrmwsID7gZfPwUSuzpxAo5UkCRAo= +SHA256 (Pkgfile) = 8dfc4a8d451c2d842f72ac0bd8af8384e821e9d3a08f4d4eb9cebd33f939854c +SHA256 (.footprint) = ff6ff079237cb043585d40bdaa9b37c8beb6da024208ecc4117c5944578ce9e4 SHA256 (python3-mistune0-0.8.4.tar.gz) = a1443771ea9ed7268a0cb3cf31462604ae148938ba32070bd5c54545f8f36a5d +SHA256 (patch-setup.py) = e8354687652896ad1ca868c885f91985401f311a3989d84bbe1ae6b92ca061e5 diff --git a/python3-mistune0/Pkgfile b/python3-mistune0/Pkgfile index e3e888e77..8f454e8b9 100644 --- a/python3-mistune0/Pkgfile +++ b/python3-mistune0/Pkgfile @@ -5,11 +5,16 @@ name=python3-mistune0 version=0.8.4 -release=1 -source=(https://github.com/lepture/mistune/archive/v$version/$name-$version.tar.gz) +release=2 +source=(https://github.com/lepture/mistune/archive/v$version/$name-$version.tar.gz + patch-setup.py) build() { cd mistune-$version + + patch -Np0 -i $SRC/patch-setup.py + mv mistune.py mistune0.py + /usr/bin/python3 setup.py build /usr/bin/python3 setup.py install --optimize=1 --root=$PKG } diff --git a/python3-mistune0/patch-setup.py b/python3-mistune0/patch-setup.py new file mode 100644 index 000000000..0c6ba0c20 --- /dev/null +++ b/python3-mistune0/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'],