python3-mistune0: -> 0.8.4
This commit is contained in:
parent
0d4db5f85d
commit
fa8561f9b7
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
}
|
||||
|
29
python3-mistune0/patch-setup.py
Normal file
29
python3-mistune0/patch-setup.py
Normal file
@ -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'],
|
Loading…
x
Reference in New Issue
Block a user