freebsd-ports/textproc/py-pymdown-extensions/files/patch-setup.py
Kai Knoblich 3feaaedcf8 textproc/py-pymdown-extensions: Update to 9.5
* Add a "post-patch" target that adds the actual version to "setup.py"
  to prevent editing it with each update.

Changelog:

https://github.com/facelessuser/pymdown-extensions/releases/tag/9.5
2022-11-27 15:32:02 +01:00

42 lines
1.3 KiB
Python

Generated via adding
[tool.hatch.build.targets.sdist]
support-legacy = true
to setup.py and then run "hatchling build".
--- setup.py.orig 2022-11-19 11:48:49 UTC
+++ setup.py
@@ -0,0 +1,32 @@
+# -*- coding: utf-8 -*-
+from setuptools import setup
+
+setup(
+ name='pymdown-extensions',
+ version='%%DISTVERSION%%',
+ description='Extension pack for Python Markdown.',
+ long_description='',
+ author_email='Isaac Muse <Isaac.Muse@gmail.com>',
+ classifiers=[
+ 'Development Status :: 5 - Production/Stable',
+ 'Environment :: Console',
+ 'Intended Audience :: Developers',
+ 'License :: OSI Approved :: MIT License',
+ 'Operating System :: OS Independent',
+ 'Programming Language :: Python :: 3',
+ 'Programming Language :: Python :: 3.7',
+ 'Programming Language :: Python :: 3.8',
+ 'Programming Language :: Python :: 3.9',
+ 'Programming Language :: Python :: 3.10',
+ 'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
+ 'Topic :: Software Development :: Libraries :: Python Modules',
+ 'Topic :: Text Processing :: Filters',
+ 'Topic :: Text Processing :: Markup :: HTML',
+ ],
+ install_requires=[
+ 'markdown>=3.2',
+ ],
+ packages=[
+ 'pymdownx',
+ ],
+)