mirror of
https://github.com/beard7n/bsdports.git
synced 2026-04-10 10:31:20 +02:00
xxx
This commit is contained in:
32
python/py-build/Makefile
Normal file
32
python/py-build/Makefile
Normal file
@@ -0,0 +1,32 @@
|
||||
PORTNAME= build
|
||||
PORTVERSION= 0.10.0
|
||||
CATEGORIES= devel python
|
||||
MASTER_SITES= PYPI
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
|
||||
MAINTAINER= sunpoet@FreeBSD.org
|
||||
COMMENT= PEP517 package builder
|
||||
WWW= https://github.com/pypa/build
|
||||
|
||||
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}packaging>=19.0:python/py-packaging@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}pyproject_hooks>=0:python/py-pyproject_hooks@${PY_FLAVOR}
|
||||
|
||||
USES= python
|
||||
USE_PYTHON= autoplist concurrent pep517
|
||||
|
||||
NO_ARCH= yes
|
||||
|
||||
PEP517_BUILD_CMD= ${PYTHON_CMD} -m flit_core.wheel
|
||||
PEP517_BUILD_DEPEND= ${PYTHON_PKGNAMEPREFIX}flit-core>=3.4:python/py-flit-core@${PY_FLAVOR}
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${PYTHON_REL} < 30800
|
||||
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}importlib-metadata>=0.22:python/py-importlib-metadata@${PY_FLAVOR}
|
||||
.endif
|
||||
|
||||
.if ${PYTHON_REL} < 31100
|
||||
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}tomli>=1.1.0:python/py-tomli@${PY_FLAVOR}
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
3
python/py-build/distinfo
Normal file
3
python/py-build/distinfo
Normal file
@@ -0,0 +1,3 @@
|
||||
TIMESTAMP = 1674589742
|
||||
SHA256 (build-0.10.0.tar.gz) = d5b71264afdb5951d6704482aac78de887c80691c52b88a9ad195983ca2c9269
|
||||
SIZE (build-0.10.0.tar.gz) = 16465
|
||||
1
python/py-build/pkg-descr
Normal file
1
python/py-build/pkg-descr
Normal file
@@ -0,0 +1 @@
|
||||
build is a simple, correct PEP517 package builder.
|
||||
@@ -1,20 +1,18 @@
|
||||
# Created by: Dan Langille <dvl@FreeBSD.org>
|
||||
# $FreeBSD: head/devel/py-cheetah3/Makefile 528099 2020-03-09 09:32:07Z amdmi3 $
|
||||
|
||||
PORTNAME= cheetah
|
||||
DISTVERSION= 3.2.4
|
||||
DISTVERSION= 3.2.6
|
||||
CATEGORIES= devel textproc www python
|
||||
MASTER_SITES= CHEESESHOP
|
||||
MASTER_SITES= PYPI
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
PKGNAMESUFFIX= 3
|
||||
DISTNAME= Cheetah3-${DISTVERSION}
|
||||
|
||||
MAINTAINER= FreeBSD@ShaneWare.Biz
|
||||
COMMENT= HTML template engine for Python
|
||||
WWW= https://cheetahtemplate.org/
|
||||
|
||||
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}markdown>=2.0.3:python/py-markdown@${PY_FLAVOR}
|
||||
|
||||
USES= python
|
||||
USES= python:3.6+
|
||||
USE_PYTHON= autoplist concurrent distutils
|
||||
|
||||
post-install:
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
TIMESTAMP = 1569732902
|
||||
SHA256 (Cheetah3-3.2.4.tar.gz) = caabb9c22961a3413ac85cd1e5525ec9ca80daeba6555f4f60802b6c256e252b
|
||||
SIZE (Cheetah3-3.2.4.tar.gz) = 294969
|
||||
TIMESTAMP = 1608484272
|
||||
SHA256 (Cheetah3-3.2.6.tar.gz) = f1c2b693cdcac2ded2823d363f8459ae785261e61c128d68464c8781dba0466b
|
||||
SIZE (Cheetah3-3.2.6.tar.gz) = 295564
|
||||
|
||||
11
python/py-cheetah3/files/patch-tox.ini
Normal file
11
python/py-cheetah3/files/patch-tox.ini
Normal file
@@ -0,0 +1,11 @@
|
||||
--- tox.ini.orig 2021-04-22 10:44:05 UTC
|
||||
+++ tox.ini
|
||||
@@ -21,7 +21,7 @@ commands =
|
||||
{envpython} -c "import struct; print(struct.calcsize('P') * 8)"
|
||||
deps =
|
||||
setuptools < 44
|
||||
- Markdown >= 2.0.1, < 3.2
|
||||
+ Markdown >= 2.0.1
|
||||
pygments
|
||||
passenv = CI TRAVIS TRAVIS_* APPVEYOR DISTUTILS_USE_SDK MSSdk INCLUDE LIB WINDIR
|
||||
setenv =
|
||||
@@ -3,5 +3,3 @@ can be used as a standalone utility or it can be combined with other
|
||||
tools. Cheetah has many potential uses, but web developers looking
|
||||
for a viable alternative to ASP, JSP, PHP and PSP are expected to
|
||||
be its principle user group.
|
||||
|
||||
WWW: https://cheetahtemplate.org/
|
||||
|
||||
22
python/py-flit-core/Makefile
Normal file
22
python/py-flit-core/Makefile
Normal file
@@ -0,0 +1,22 @@
|
||||
PORTNAME= flit-core
|
||||
PORTVERSION= 3.8.0
|
||||
CATEGORIES= devel python
|
||||
MASTER_SITES= PYPI
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
DISTNAME= flit_core-${PORTVERSION}
|
||||
|
||||
MAINTAINER= sunpoet@FreeBSD.org
|
||||
COMMENT= Distribution-building parts of Flit
|
||||
WWW= https://github.com/pypa/flit/tree/main/flit_core
|
||||
|
||||
USES= python
|
||||
USE_PYTHON= allflavors autoplist concurrent pep517 pytest
|
||||
|
||||
NO_ARCH= yes
|
||||
|
||||
PEP517_BUILD_CMD= ${PYTHON_CMD} -m flit_core.wheel
|
||||
PEP517_BUILD_DEPEND= # empty
|
||||
PEP517_INSTALL_CMD= ${PYTHON_CMD} ${WRKSRC}/bootstrap_install.py --installdir ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} ${WRKSRC}/dist/${DISTNAME}*.whl
|
||||
PEP517_INSTALL_DEPEND= # empty
|
||||
|
||||
.include <bsd.port.mk>
|
||||
3
python/py-flit-core/distinfo
Normal file
3
python/py-flit-core/distinfo
Normal file
@@ -0,0 +1,3 @@
|
||||
TIMESTAMP = 1669057735
|
||||
SHA256 (flit_core-3.8.0.tar.gz) = b305b30c99526df5e63d6022dd2310a0a941a187bd3884f4c8ef0418df6c39f3
|
||||
SIZE (flit_core-3.8.0.tar.gz) = 41224
|
||||
2
python/py-flit-core/pkg-descr
Normal file
2
python/py-flit-core/pkg-descr
Normal file
@@ -0,0 +1,2 @@
|
||||
flit_core provides a PEP 517 build backend for packages using Flit. The only
|
||||
public interface is the API specified by PEP 517, at flit_core.buildapi.
|
||||
34
python/py-importlib-metadata/Makefile
Normal file
34
python/py-importlib-metadata/Makefile
Normal file
@@ -0,0 +1,34 @@
|
||||
PORTNAME= importlib-metadata
|
||||
DISTVERSION= 6.0.0
|
||||
CATEGORIES= devel
|
||||
MASTER_SITES= PYPI
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
DISTNAME= importlib_metadata-${PORTVERSION}
|
||||
|
||||
MAINTAINER= swills@FreeBSD.org
|
||||
COMMENT= Read metadata from Python packages
|
||||
WWW= https://github.com/python/importlib_metadata
|
||||
|
||||
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=56:python/py-setuptools@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}setuptools_scm>0:python/py-setuptools_scm@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}wheel>0:python/py-wheel@${PY_FLAVOR}
|
||||
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}zipp>=0.5:python/py-zipp@${PY_FLAVOR}
|
||||
|
||||
USES= python:3.6+
|
||||
USE_PYTHON= distutils autoplist pytest
|
||||
|
||||
NO_ARCH= yes
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${PYTHON_REL} < 30800
|
||||
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}typing-extensions>=3.6.4:python/py-typing-extensions@${PY_FLAVOR}
|
||||
.endif
|
||||
|
||||
pre-configure: # importlib-metadata introduces circular dependency when built with USE_PYTHON=pep517, see bug#269363
|
||||
@( \
|
||||
${ECHO} "from setuptools import setup" && \
|
||||
${ECHO} "setup()" \
|
||||
) > ${WRKSRC}/setup.py
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
3
python/py-importlib-metadata/distinfo
Normal file
3
python/py-importlib-metadata/distinfo
Normal file
@@ -0,0 +1,3 @@
|
||||
TIMESTAMP = 1675322875
|
||||
SHA256 (importlib_metadata-6.0.0.tar.gz) = e354bedeb60efa6affdcc8ae121b73544a7aa74156d047311948f6d711cd378d
|
||||
SIZE (importlib_metadata-6.0.0.tar.gz) = 49776
|
||||
1
python/py-importlib-metadata/pkg-descr
Normal file
1
python/py-importlib-metadata/pkg-descr
Normal file
@@ -0,0 +1 @@
|
||||
Read metadata from Python packages
|
||||
21
python/py-installer/Makefile
Normal file
21
python/py-installer/Makefile
Normal file
@@ -0,0 +1,21 @@
|
||||
PORTNAME= installer
|
||||
PORTVERSION= 0.6.0
|
||||
CATEGORIES= devel python
|
||||
MASTER_SITES= PYPI
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
|
||||
MAINTAINER= sunpoet@FreeBSD.org
|
||||
COMMENT= Library for installing Python wheels
|
||||
WWW= https://github.com/pypa/installer
|
||||
|
||||
USES= python
|
||||
USE_PYTHON= allflavors autoplist concurrent pep517
|
||||
|
||||
MAKE_ENV= PYTHONPATH=${WRKSRC}/src
|
||||
NO_ARCH= yes
|
||||
|
||||
PEP517_BUILD_CMD= ${PYTHON_CMD} -m flit_core.wheel
|
||||
PEP517_BUILD_DEPEND= ${PYTHON_PKGNAMEPREFIX}flit-core>=3.2.0<4:python/py-flit-core@${PY_FLAVOR}
|
||||
PEP517_INSTALL_DEPEND= # empty
|
||||
|
||||
.include <bsd.port.mk>
|
||||
3
python/py-installer/distinfo
Normal file
3
python/py-installer/distinfo
Normal file
@@ -0,0 +1,3 @@
|
||||
TIMESTAMP = 1674589800
|
||||
SHA256 (installer-0.6.0.tar.gz) = f3bd36cd261b440a88a1190b1becca0578fee90b4b62decc796932fdd5ae8839
|
||||
SIZE (installer-0.6.0.tar.gz) = 471077
|
||||
8
python/py-installer/pkg-descr
Normal file
8
python/py-installer/pkg-descr
Normal file
@@ -0,0 +1,8 @@
|
||||
This is a low-level library for installing a Python package from a wheel
|
||||
distribution. It provides basic functionality and abstractions for handling
|
||||
wheels and installing packages from wheels.
|
||||
|
||||
- Logic for "unpacking" a wheel (i.e. installation).
|
||||
- Abstractions for various parts of the unpacking process.
|
||||
- Extensible simple implementations of the abstractions.
|
||||
- Platform-independent Python script wrapper generation.
|
||||
@@ -1,18 +1,16 @@
|
||||
# Created by: Graham Todd <gtodd@bellanet.org>
|
||||
# $FreeBSD: head/textproc/py-markdown/Makefile 472884 2018-06-20 17:05:41Z mat $
|
||||
|
||||
PORTNAME= markdown
|
||||
PORTVERSION= 2.6.11
|
||||
PORTVERSION= 3.3.7
|
||||
CATEGORIES= textproc python
|
||||
MASTER_SITES= CHEESESHOP
|
||||
MASTER_SITES= PYPI
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
DISTNAME= Markdown-${PORTVERSION}
|
||||
|
||||
MAINTAINER= koobs@FreeBSD.org
|
||||
MAINTAINER= sunpoet@FreeBSD.org
|
||||
COMMENT= Python implementation of Markdown
|
||||
WWW= https://github.com/Python-Markdown/markdown
|
||||
|
||||
USES= python
|
||||
USE_PYTHON= distutils concurrent autoplist
|
||||
USES= python:3.6+
|
||||
USE_PYTHON= autoplist concurrent distutils
|
||||
|
||||
NO_ARCH= yes
|
||||
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
TIMESTAMP = 1523854686
|
||||
SHA256 (Markdown-2.6.11.tar.gz) = a856869c7ff079ad84a3e19cd87a64998350c2b94e9e08e44270faef33400f81
|
||||
SIZE (Markdown-2.6.11.tar.gz) = 274132
|
||||
TIMESTAMP = 1652122699
|
||||
SHA256 (Markdown-3.3.7.tar.gz) = cbb516f16218e643d8e0a95b309f77eb118cb138d39a4f27851e6a63581db874
|
||||
SIZE (Markdown-3.3.7.tar.gz) = 324130
|
||||
|
||||
@@ -1,13 +1,16 @@
|
||||
This is a Python implementation of John Gruber's Markdown. It is almost
|
||||
completely compliant with the reference implementation, though there are a
|
||||
few very minor differences.
|
||||
Python-Markdown is a Python implementation of John Gruber's Markdown. It is
|
||||
almost completely compliant with the reference implementation, though there are
|
||||
a few known issues.
|
||||
|
||||
Features:
|
||||
|
||||
* International Input
|
||||
* Extensions
|
||||
* Output Formats
|
||||
* "Safe Modes"
|
||||
* Command Line Interface
|
||||
|
||||
WWW: https://pythonhosted.org/Markdown/
|
||||
In addition to the basic markdown syntax, Python-Markdown supports the following
|
||||
features:
|
||||
- International Input: Python-Markdown will accept input in any language
|
||||
supported by Unicode including bi-directional text. In fact the test suite
|
||||
includes documents written in Russian and Arabic.
|
||||
- Extensions: Various extensions are provided (including extra) to change and/or
|
||||
extend the base syntax. Additionally, a public Extension API is available to
|
||||
write your own extensions.
|
||||
- Output Formats: Python-Markdown can output documents with either HTML or XHTML
|
||||
style tags. See the Library Reference for details.
|
||||
- Command Line Interface: In addition to being a Python Library, a command line
|
||||
script is available for your convenience.
|
||||
|
||||
19
python/py-packaging/Makefile
Normal file
19
python/py-packaging/Makefile
Normal file
@@ -0,0 +1,19 @@
|
||||
PORTNAME= packaging
|
||||
PORTVERSION= 23.0
|
||||
CATEGORIES= devel python
|
||||
MASTER_SITES= PYPI
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
|
||||
MAINTAINER= sunpoet@FreeBSD.org
|
||||
COMMENT= Core utilities for Python packages
|
||||
WWW= https://github.com/pypa/packaging
|
||||
|
||||
USES= python
|
||||
USE_PYTHON= allflavors autoplist concurrent pep517
|
||||
|
||||
NO_ARCH= yes
|
||||
|
||||
PEP517_BUILD_CMD= ${PYTHON_CMD} -m flit_core.wheel
|
||||
PEP517_BUILD_DEPEND= ${PYTHON_PKGNAMEPREFIX}flit-core>=3.3:python/py-flit-core@${PY_FLAVOR}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
3
python/py-packaging/distinfo
Normal file
3
python/py-packaging/distinfo
Normal file
@@ -0,0 +1,3 @@
|
||||
TIMESTAMP = 1674589844
|
||||
SHA256 (packaging-23.0.tar.gz) = b6ad297f8907de0fa2fe1ccbd26fdaf387f5f47c7275fedf8cce89f99446cf97
|
||||
SIZE (packaging-23.0.tar.gz) = 126241
|
||||
1
python/py-packaging/pkg-descr
Normal file
1
python/py-packaging/pkg-descr
Normal file
@@ -0,0 +1 @@
|
||||
packaging provides core utilities for Python packages.
|
||||
@@ -1,23 +1,29 @@
|
||||
# Created by: Nicola Vitale <nivit@FreeBSD.org>
|
||||
# $FreeBSD: head/devel/py-pip/Makefile 472884 2018-06-20 17:05:41Z mat $
|
||||
|
||||
PORTNAME= pip
|
||||
PORTVERSION= 9.0.3
|
||||
PORTVERSION= 22.3.1
|
||||
CATEGORIES= devel python
|
||||
MASTER_SITES= https://files.pythonhosted.org/packages/a4/53/bfc6409447ca024558b8b19d055de94c813c3e32c0296c48a0873a161cf5/:test_setuptools \
|
||||
https://files.pythonhosted.org/packages/27/d6/003e593296a85fd6ed616ed962795b2f87709c3eee2bca4f6d0fe55c6d00/:test_wheel
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
DISTFILES= setuptools-63.2.0-py3-none-any.whl:test_setuptools \
|
||||
wheel-0.37.1-py2.py3-none-any.whl:test_wheel
|
||||
DIST_SUBDIR= ${PORTNAME}
|
||||
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
|
||||
|
||||
MAINTAINER= python@FreeBSD.org
|
||||
COMMENT= Tool for installing and managing Python packages
|
||||
WWW= https://pip.pypa.io/en/latest/
|
||||
|
||||
USES= cpe python:3.7+ shebangfix
|
||||
CPE_VENDOR= pypa
|
||||
USE_PYTHON= autoplist concurrent distutils pytest
|
||||
|
||||
MAKE_ENV= PYTHONPATH=${WRKSRC}/src/
|
||||
NO_ARCH= yes
|
||||
USES= python shebangfix
|
||||
TEST_ENV= PYTHONPATH=${STAGEDIR}${PYTHON_SITELIBDIR}
|
||||
|
||||
USE_GITHUB= yes
|
||||
USE_PYTHON= autoplist distutils
|
||||
|
||||
SHEBANG_FILES= pip/__init__.py
|
||||
|
||||
GH_ACCOUNT= pypa
|
||||
|
||||
NO_ARCH= yes
|
||||
SHEBANG_FILES= src/pip/__init__.py
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
||||
@@ -1,3 +1,7 @@
|
||||
TIMESTAMP = 1521810422
|
||||
SHA256 (pypa-pip-9.0.3_GH0.tar.gz) = a582a1b8649828b57c23788879bd5263b9ff4f12083c52fb73ff20ca3531056d
|
||||
SIZE (pypa-pip-9.0.3_GH0.tar.gz) = 6249079
|
||||
TIMESTAMP = 1669058331
|
||||
SHA256 (pip/setuptools-63.2.0-py3-none-any.whl) = 0d33c374d41c7863419fc8f6c10bfe25b7b498aa34164d135c622e52580c6b16
|
||||
SIZE (pip/setuptools-63.2.0-py3-none-any.whl) = 1228000
|
||||
SHA256 (pip/wheel-0.37.1-py2.py3-none-any.whl) = 4bdcd7d840138086126cd09254dc6195fb4fc6f01c050a1d7236f2630db1d22a
|
||||
SIZE (pip/wheel-0.37.1-py2.py3-none-any.whl) = 35301
|
||||
SHA256 (pip/pypa-pip-22.3.1_GH0.tar.gz) = 8d9f7cd8ad0d6f0c70e71704fd3f0f6538d70930454f1f21bbc2f8e94f6964ee
|
||||
SIZE (pip/pypa-pip-22.3.1_GH0.tar.gz) = 9326504
|
||||
|
||||
@@ -1,9 +0,0 @@
|
||||
--- setup.cfg.orig 2015-08-22 22:46:55 UTC
|
||||
+++ setup.cfg
|
||||
@@ -1,5 +1,6 @@
|
||||
[pytest]
|
||||
addopts = --ignore pip/_vendor --ignore tests/tests_cache
|
||||
+norecursedirs = .tox build dist node_modules *.egg-info
|
||||
|
||||
[wheel]
|
||||
universal=1
|
||||
@@ -1,11 +1,11 @@
|
||||
--- setup.py.orig 2015-11-14 14:08:36 UTC
|
||||
--- setup.py.orig 2022-05-11 19:03:44 UTC
|
||||
+++ setup.py
|
||||
@@ -78,8 +78,6 @@ setup(
|
||||
@@ -75,8 +75,6 @@ setup(
|
||||
entry_points={
|
||||
"console_scripts": [
|
||||
"pip=pip:main",
|
||||
- "pip%s=pip:main" % sys.version[:1],
|
||||
- "pip%s=pip:main" % sys.version[:3],
|
||||
"pip=pip._internal.cli.main:main",
|
||||
- "pip{}=pip._internal.cli.main:main".format(sys.version_info[0]),
|
||||
- "pip{}.{}=pip._internal.cli.main:main".format(*sys.version_info[:2]),
|
||||
],
|
||||
},
|
||||
tests_require=tests_require,
|
||||
zip_safe=False,
|
||||
|
||||
@@ -14,5 +14,3 @@ pip is meant to improve on easy_install. Some of the improvements:
|
||||
* Error messages should be useful.
|
||||
* Packages don't have to be installed as egg archives, they can be
|
||||
installed flat (while keeping the egg metadata).
|
||||
|
||||
WWW: https://pip.pypa.io/en/latest/
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
============================== !!!! WARNING !!!! ==========================
|
||||
|
||||
[
|
||||
{ type: install
|
||||
message: <<EOM
|
||||
pip MUST ONLY be used:
|
||||
|
||||
* With the --user flag, OR
|
||||
@@ -10,5 +11,6 @@ system-wide Python environment (LOCALBASE/lib/pythonX.Y/site-packages) and
|
||||
cause errors.
|
||||
|
||||
Avoid using pip as root unless you know what you're doing.
|
||||
|
||||
============================== !!!! WARNING !!!! ==========================
|
||||
EOM
|
||||
}
|
||||
]
|
||||
|
||||
@@ -1,31 +1,21 @@
|
||||
# Created by: Ju Pengfei <jupengfei@gmail.com>
|
||||
# $FreeBSD: head/sysutils/py-psutil/Makefile 526661 2020-02-21 18:57:16Z sunpoet $
|
||||
|
||||
PORTNAME= psutil
|
||||
PORTVERSION= 5.7.0
|
||||
PORTVERSION= 5.9.4
|
||||
CATEGORIES= sysutils python
|
||||
MASTER_SITES= CHEESESHOP
|
||||
MASTER_SITES= PYPI
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
|
||||
MAINTAINER= sunpoet@FreeBSD.org
|
||||
COMMENT= Process utilities module for Python
|
||||
WWW= https://github.com/giampaolo/psutil
|
||||
|
||||
#RUN_DEPENDS= ${PY_ENUM34}
|
||||
#TEST_DEPENDS= ${PY_IPADDRESS}
|
||||
USES= cpe python:3.6+
|
||||
USE_PYTHON= autoplist concurrent distutils
|
||||
|
||||
LDFLAGS+= -lutil
|
||||
|
||||
CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}psutil121
|
||||
|
||||
USES= python:3.5+
|
||||
USE_PYTHON= autoplist concurrent distutils
|
||||
|
||||
post-install:
|
||||
${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/psutil/_psutil_bsd.so \
|
||||
${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/psutil/_psutil_posix.so
|
||||
${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} +
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
#.if ${PYTHON_REL} < 3000
|
||||
#TEST_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}mock>=0:python/py-mock@${PY_FLAVOR}
|
||||
#.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
.include <bsd.port.mk>
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
TIMESTAMP = 1582222968
|
||||
SHA256 (psutil-5.7.0.tar.gz) = 685ec16ca14d079455892f25bd124df26ff9137664af445563c1bd36629b5e0e
|
||||
SIZE (psutil-5.7.0.tar.gz) = 449628
|
||||
TIMESTAMP = 1669057961
|
||||
SHA256 (psutil-5.9.4.tar.gz) = 3d7f9739eb435d4b1338944abe23f49584bde5395f27487d2ee25ad9a8774a62
|
||||
SIZE (psutil-5.9.4.tar.gz) = 485825
|
||||
|
||||
11
python/py-psutil/files/patch-clang15
Normal file
11
python/py-psutil/files/patch-clang15
Normal file
@@ -0,0 +1,11 @@
|
||||
--- psutil/arch/freebsd/sys_socks.c.orig 2022-09-02 10:06:38 UTC
|
||||
+++ psutil/arch/freebsd/sys_socks.c
|
||||
@@ -62,7 +62,7 @@ struct xfile *
|
||||
|
||||
|
||||
struct xfile *
|
||||
-psutil_get_file_from_sock(void *sock) {
|
||||
+psutil_get_file_from_sock(kvaddr_t sock) {
|
||||
struct xfile *xf;
|
||||
int n;
|
||||
|
||||
@@ -2,6 +2,3 @@ psutil is a module providing an interface for retrieving information on running
|
||||
processes and system utilization (CPU, memory) in a portable way by using
|
||||
Python, implementing many functionalities offered by tools like ps, top and
|
||||
Windows task manager.
|
||||
|
||||
WWW: https://pypi.org/project/psutil/
|
||||
WWW: https://github.com/giampaolo/psutil
|
||||
|
||||
17
python/py-pymongo/Makefile
Normal file
17
python/py-pymongo/Makefile
Normal file
@@ -0,0 +1,17 @@
|
||||
PORTNAME= pymongo
|
||||
PORTVERSION= 3.13.0
|
||||
CATEGORIES= databases python
|
||||
MASTER_SITES= PYPI
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
|
||||
MAINTAINER= farrokhi@FreeBSD.org
|
||||
COMMENT= Python driver for MongoDB
|
||||
WWW= https://github.com/mongodb/mongo-python-driver
|
||||
|
||||
USES= python:3.6+
|
||||
USE_PYTHON= autoplist concurrent distutils pep517
|
||||
|
||||
CONFLICTS_INSTALL= py[0-9][0-9]-pymongo28
|
||||
|
||||
|
||||
.include <bsd.port.mk>
|
||||
3
python/py-pymongo/distinfo
Normal file
3
python/py-pymongo/distinfo
Normal file
@@ -0,0 +1,3 @@
|
||||
TIMESTAMP = 1669452165
|
||||
SHA256 (pymongo-3.13.0.tar.gz) = e22d6cf5802cd09b674c307cc9e03870b8c37c503ebec3d25b86f2ce8c535dc7
|
||||
SIZE (pymongo-3.13.0.tar.gz) = 804388
|
||||
4
python/py-pymongo/pkg-descr
Normal file
4
python/py-pymongo/pkg-descr
Normal file
@@ -0,0 +1,4 @@
|
||||
The PyMongo distribution contains tools for interacting with
|
||||
the Mongo database from Python. The pymongo package is a native
|
||||
Python driver for the Mongo database. The gridfs package is a
|
||||
gridfs implementation on top of pymongo.
|
||||
25
python/py-pyproject_hooks/Makefile
Normal file
25
python/py-pyproject_hooks/Makefile
Normal file
@@ -0,0 +1,25 @@
|
||||
PORTNAME= pyproject_hooks
|
||||
PORTVERSION= 1.0.0
|
||||
CATEGORIES= devel python
|
||||
MASTER_SITES= PYPI
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
|
||||
MAINTAINER= sunpoet@FreeBSD.org
|
||||
COMMENT= Wrappers to call pyproject.toml-based build backend hooks
|
||||
WWW= https://github.com/pypa/pyproject-hooks
|
||||
|
||||
USES= python
|
||||
USE_PYTHON= allflavors autoplist concurrent pep517
|
||||
|
||||
NO_ARCH= yes
|
||||
|
||||
PEP517_BUILD_CMD= ${PYTHON_CMD} -m flit_core.wheel
|
||||
PEP517_BUILD_DEPEND= ${PYTHON_PKGNAMEPREFIX}flit-core>=3.2<4:python/py-flit-core@${PY_FLAVOR}
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${PYTHON_REL} < 31100
|
||||
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}tomli>=1.1.0:python/py-tomli@${PY_FLAVOR}
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
3
python/py-pyproject_hooks/distinfo
Normal file
3
python/py-pyproject_hooks/distinfo
Normal file
@@ -0,0 +1,3 @@
|
||||
TIMESTAMP = 1674588052
|
||||
SHA256 (pyproject_hooks-1.0.0.tar.gz) = f271b298b97f5955d53fb12b72c1fb1948c22c1a6b70b315c54cedaca0264ef5
|
||||
SIZE (pyproject_hooks-1.0.0.tar.gz) = 16901
|
||||
7
python/py-pyproject_hooks/pkg-descr
Normal file
7
python/py-pyproject_hooks/pkg-descr
Normal file
@@ -0,0 +1,7 @@
|
||||
pyproject-hooks is a low-level library for calling build-backends in
|
||||
pyproject.toml-based project. It provides the basic functionality to help write
|
||||
tooling that generates distribution files from Python projects.
|
||||
|
||||
If you want a tool that builds Python packages, you'll want to use
|
||||
devel/py-build instead. This is an underlying piece for pip, build and other
|
||||
"build frontends" use to call "build backends" within them.
|
||||
@@ -1,25 +1,26 @@
|
||||
# $FreeBSD: head/devel/py-setuptools/Makefile 492575 2019-02-10 00:08:37Z sunpoet $
|
||||
|
||||
PORTNAME= setuptools
|
||||
PORTVERSION= 40.8.0
|
||||
PORTVERSION= 63.1.0
|
||||
CATEGORIES= devel python
|
||||
MASTER_SITES= CHEESESHOP
|
||||
MASTER_SITES= PYPI
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
DIST_SUBDIR= python
|
||||
|
||||
# note: before committing to this port, contact portmgr to arrange for an
|
||||
# experimental ports run. Untested commits may be backed out at portmgr's
|
||||
# discretion.
|
||||
MAINTAINER= python@FreeBSD.org
|
||||
COMMENT= Python packages installer
|
||||
WWW= https://pypi.org/project/setuptools/
|
||||
|
||||
USES= cpe python:3.7+
|
||||
USE_PYTHON= allflavors autoplist concurrent distutils
|
||||
|
||||
CPE_VENDOR= python
|
||||
|
||||
MAKE_ENV+= SETUPTOOLS_DISABLE_VERSIONED_EASY_INSTALL_SCRIPT=1
|
||||
NO_ARCH= yes
|
||||
USES= python zip
|
||||
USE_PYTHON= autoplist concurrent distutils allflavors
|
||||
|
||||
PYDISTUTILS_SETUP= ${PYSETUP}
|
||||
|
||||
CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}distribute-[0-9]*@${PY_FLAVOR}
|
||||
MAKE_ENV+= SETUPTOOLS_DISABLE_VERSIONED_EASY_INSTALL_SCRIPT=1
|
||||
|
||||
PLIST_FILES= "@sample %%PYTHON_SITELIBDIR%%/easy-install.pth.dist %%PYTHON_SITELIBDIR%%/easy-install.pth"
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
@@ -31,15 +32,13 @@ SUB_LIST+= PYTHON_VER=${PYTHON_VER}
|
||||
|
||||
# These create dependency loops in redports/poudriere, because setuptools
|
||||
# is currently an explicit BUILD & RUN dependency in Uses/python.mk.
|
||||
#TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR}@${PY_FLAVOR}
|
||||
#.if ${PYTHON_REL} < 3300
|
||||
#TEST_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}mock>0:devel/py-mock@${PY_FLAVOR}@${PY_FLAVOR}
|
||||
#.endif
|
||||
#TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR}
|
||||
# pkg install -y py38-pytest py38-mock py38-pytest-fixture-config py38-pytest-virtualenv py38-paver
|
||||
|
||||
post-install:
|
||||
${INSTALL_DATA} ${FILESDIR}/easy-install.pth.dist ${STAGEDIR}${PYTHON_SITELIBDIR}/
|
||||
|
||||
do-test:
|
||||
@cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test
|
||||
cd ${WRKSRC} && ${PYTHON_CMD} -m pytest -v -rs
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
TIMESTAMP = 1549473370
|
||||
SHA256 (python/setuptools-40.8.0.zip) = 6e4eec90337e849ade7103723b9a99631c1f0d19990d6e8412dc42f5ae8b304d
|
||||
SIZE (python/setuptools-40.8.0.zip) = 845071
|
||||
TIMESTAMP = 1657634036
|
||||
SHA256 (python/setuptools-63.1.0.tar.gz) = 16923d366ced322712c71ccb97164d07472abeecd13f3a6c283f6d5d26722793
|
||||
SIZE (python/setuptools-63.1.0.tar.gz) = 2599380
|
||||
|
||||
@@ -1,7 +1,8 @@
|
||||
|
||||
*******************************************************************
|
||||
|
||||
[
|
||||
{ type: install
|
||||
message: <<EOM
|
||||
Only %%PREFIX%%/bin/easy_install-%%PYTHON_VER%% script has been installed
|
||||
since Python %%PYTHON_VER%% is not the default Python version.
|
||||
|
||||
*******************************************************************
|
||||
EOM
|
||||
}
|
||||
]
|
||||
|
||||
@@ -6,5 +6,3 @@ designed to facilitate packaging Python projects, where packaging includes:
|
||||
- Project installation
|
||||
- Platform-specific details
|
||||
- Python 3 support
|
||||
|
||||
WWW: https://pypi.org/project/setuptools/
|
||||
|
||||
@@ -1,16 +1,41 @@
|
||||
# $FreeBSD: head/devel/py-setuptools_scm/Makefile 466646 2018-04-06 15:43:40Z wg $
|
||||
|
||||
PORTNAME= setuptools_scm
|
||||
PORTVERSION= 1.17.0
|
||||
PORTVERSION= 6.4.2
|
||||
CATEGORIES= devel python
|
||||
MASTER_SITES= CHEESESHOP
|
||||
MASTER_SITES= PYPI
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
|
||||
MAINTAINER= wg@FreeBSD.org
|
||||
MAINTAINER= python@FreeBSD.org
|
||||
COMMENT= Setuptools plugin to manage your versions by scm tags
|
||||
WWW= https://github.com/pypa/setuptools_scm
|
||||
|
||||
USES= python
|
||||
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}packaging>=20.0:python/py-packaging@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}tomli>=1.0.0:python/py-tomli@${PY_FLAVOR}
|
||||
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}packaging>=20.0:python/py-packaging@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}tomli>=1.0.0:python/py-tomli@${PY_FLAVOR}
|
||||
#TEST_DEPENDS= git:python/git \
|
||||
# ${PY_MERCURIAL} \
|
||||
# ${PYTHON_PKGNAMEPREFIX}pip>=0:python/py-pip@${PY_FLAVOR} \
|
||||
# ${PYTHON_PKGNAMEPREFIX}pytest>=0:python/py-pytest@${PY_FLAVOR}
|
||||
|
||||
USES= python:3.6+
|
||||
USE_PYTHON= autoplist distutils
|
||||
|
||||
# Workaround to get a 100% working test suite. This can be removed once
|
||||
# https://github.com/pypa/setuptools_scm/issues/353 is solved.
|
||||
TEST_ENV= _PYTEST_SESSION=yes
|
||||
|
||||
NO_ARCH= yes
|
||||
|
||||
# Skip integration tests that require a more recent version of py-virtualenv
|
||||
post-extract:
|
||||
@${MV} ${WRKSRC}/testing/test_setuptools_support.py ${WRKSRC}/testing/test_setuptools_support.py.dist
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's|%%PYTHON_CMD%%|${PYTHON_CMD}|' ${WRKSRC}/testing/test_integration.py
|
||||
|
||||
# Note: The test suite requires at least py-pytest >= 6.2.0 due changes to the
|
||||
# "monkeypatch" functionality. Tests are fine with py-pytest 7.0.0.
|
||||
do-test:
|
||||
@cd ${WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} -m pytest -v -rs
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
TIMESTAMP = 1523031316
|
||||
SHA256 (setuptools_scm-1.17.0.tar.gz) = 70a4cf5584e966ae92f54a764e6437af992ba42ac4bca7eb37cc5d02b98ec40a
|
||||
SIZE (setuptools_scm-1.17.0.tar.gz) = 29124
|
||||
TIMESTAMP = 1644388030
|
||||
SHA256 (setuptools_scm-6.4.2.tar.gz) = 6833ac65c6ed9711a4d5d2266f8024cfa07c533a0e55f4c12f6eff280a5a9e30
|
||||
SIZE (setuptools_scm-6.4.2.tar.gz) = 61305
|
||||
|
||||
19
python/py-setuptools_scm/files/patch-setup.cfg
Normal file
19
python/py-setuptools_scm/files/patch-setup.cfg
Normal file
@@ -0,0 +1,19 @@
|
||||
Avoid errors during runtime if devel/py-packaging is not present.
|
||||
|
||||
The package is only required in "_version_cls.py" and falls back to
|
||||
devel/py-setuptools (via "try ... except") if it's not available.
|
||||
|
||||
This is a workaround to remedy issues with upgrade runs that also update
|
||||
devel/py-{packaging,pyparsing} in environments where devel/py-setuptools_scm is
|
||||
already present.
|
||||
|
||||
--- setup.cfg.orig 2021-12-05 20:43:43 UTC
|
||||
+++ setup.cfg
|
||||
@@ -27,7 +27,6 @@ classifiers =
|
||||
[options]
|
||||
packages = find:
|
||||
install_requires =
|
||||
- packaging>=20.0
|
||||
setuptools
|
||||
tomli>=1.0.0 # keep in sync
|
||||
python_requires = >=3.6
|
||||
@@ -0,0 +1,22 @@
|
||||
Workaround for https://github.com/pypa/setuptools_scm/issues/353
|
||||
|
||||
Original version (without the check for test sessions) obtained from:
|
||||
|
||||
https://github.com/OpenIndiana/oi-userland/commit/7d928fa26c0c5e4c29b4826fe78dc42401730529
|
||||
|
||||
--- src/setuptools_scm/file_finder_git.py.orig 2021-10-20 09:27:26 UTC
|
||||
+++ src/setuptools_scm/file_finder_git.py
|
||||
@@ -18,7 +18,12 @@ def _git_toplevel(path):
|
||||
stderr=devnull,
|
||||
)
|
||||
trace("find files toplevel", out)
|
||||
- return os.path.normcase(os.path.realpath(out.strip()))
|
||||
+ toplevel_path = os.path.normcase(os.path.realpath(out.strip()))
|
||||
+ setup_py_path = os.path.join(toplevel_path, "setup.py")
|
||||
+ if os.path.exists(setup_py_path) or os.environ.get("_PYTEST_SESSION"):
|
||||
+ return toplevel_path
|
||||
+ else:
|
||||
+ return None
|
||||
except subprocess.CalledProcessError:
|
||||
# git returned error, we are not in a git repo
|
||||
return None
|
||||
@@ -0,0 +1,22 @@
|
||||
Workaround for https://github.com/pypa/setuptools_scm/issues/353
|
||||
|
||||
Original version (without the check for test sessions) obtained from:
|
||||
|
||||
https://github.com/OpenIndiana/oi-userland/commit/7d928fa26c0c5e4c29b4826fe78dc42401730529
|
||||
|
||||
--- src/setuptools_scm/file_finder_hg.py.orig 2021-10-20 09:29:52 UTC
|
||||
+++ src/setuptools_scm/file_finder_hg.py
|
||||
@@ -13,7 +13,12 @@ def _hg_toplevel(path):
|
||||
universal_newlines=True,
|
||||
stderr=devnull,
|
||||
)
|
||||
- return os.path.normcase(os.path.realpath(out.strip()))
|
||||
+ toplevel_path = os.path.normcase(os.path.realpath(out.strip()))
|
||||
+ setup_py_path = os.path.join(toplevel_path, "setup.py")
|
||||
+ if os.path.exists(setup_py_path) or os.environ.get("_PYTEST_SESSION"):
|
||||
+ return toplevel_path
|
||||
+ else:
|
||||
+ return None
|
||||
except subprocess.CalledProcessError:
|
||||
# hg returned error, we are not in a mercurial repo
|
||||
return None
|
||||
@@ -0,0 +1,13 @@
|
||||
Avoid hardcoded Python binary.
|
||||
|
||||
--- testing/test_integration.py.orig 2022-02-10 17:16:34 UTC
|
||||
+++ testing/test_integration.py
|
||||
@@ -119,7 +119,7 @@ def test_pretend_version_accepts_bad_string(monkeypatc
|
||||
monkeypatch.setenv(PRETEND_KEY, "dummy")
|
||||
wd.write("setup.py", SETUP_PY_PLAIN)
|
||||
assert wd.get_version(write_to="test.py") == "dummy"
|
||||
- assert wd("python setup.py --version") == "0.0.0"
|
||||
+ assert wd("%%PYTHON_CMD%% setup.py --version") == "0.0.0"
|
||||
|
||||
|
||||
def test_own_setup_fails_on_old_python(monkeypatch):
|
||||
@@ -1,4 +1,2 @@
|
||||
Handles managing your python package versions in scm metadata instead of
|
||||
declaring them as the version argument or in a scm managed file.
|
||||
|
||||
WWW: https://github.com/pypa/setuptools_scm/
|
||||
|
||||
16
python/py-toml/Makefile
Normal file
16
python/py-toml/Makefile
Normal file
@@ -0,0 +1,16 @@
|
||||
PORTNAME= toml
|
||||
PORTVERSION= 0.10.2
|
||||
CATEGORIES= textproc python
|
||||
MASTER_SITES= PYPI
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
|
||||
MAINTAINER= python@FreeBSD.org
|
||||
COMMENT= Python library for parsing and creating TOML
|
||||
WWW= https://github.com/uiri/toml
|
||||
|
||||
USES= python:3.6+
|
||||
USE_PYTHON= autoplist concurrent distutils
|
||||
|
||||
NO_ARCH= yes
|
||||
|
||||
.include <bsd.port.mk>
|
||||
3
python/py-toml/distinfo
Normal file
3
python/py-toml/distinfo
Normal file
@@ -0,0 +1,3 @@
|
||||
TIMESTAMP = 1608226480
|
||||
SHA256 (toml-0.10.2.tar.gz) = b3bda1d108d5dd99f4a20d24d9c348e91c4db7ab1b749200bded2f839ccbe68f
|
||||
SIZE (toml-0.10.2.tar.gz) = 22253
|
||||
2
python/py-toml/pkg-descr
Normal file
2
python/py-toml/pkg-descr
Normal file
@@ -0,0 +1,2 @@
|
||||
A Python library for parsing and creating TOML.
|
||||
Tom's Obvious, Minimal Language
|
||||
19
python/py-tomli/Makefile
Normal file
19
python/py-tomli/Makefile
Normal file
@@ -0,0 +1,19 @@
|
||||
PORTNAME= tomli
|
||||
PORTVERSION= 2.0.1
|
||||
CATEGORIES= textproc python
|
||||
MASTER_SITES= PYPI
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
|
||||
MAINTAINER= sunpoet@FreeBSD.org
|
||||
COMMENT= Lil' TOML parser
|
||||
WWW= https://github.com/hukkin/tomli
|
||||
|
||||
USES= python
|
||||
USE_PYTHON= allflavors autoplist concurrent pep517
|
||||
|
||||
NO_ARCH= yes
|
||||
|
||||
PEP517_BUILD_CMD= ${PYTHON_CMD} -m flit_core.wheel
|
||||
PEP517_BUILD_DEPEND= ${PYTHON_PKGNAMEPREFIX}flit-core>=3.2.0<4:python/py-flit-core@${PY_FLAVOR}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
3
python/py-tomli/distinfo
Normal file
3
python/py-tomli/distinfo
Normal file
@@ -0,0 +1,3 @@
|
||||
TIMESTAMP = 1648248992
|
||||
SHA256 (tomli-2.0.1.tar.gz) = de526c12914f0c550d15924c62d72abc48d6fe7364aa87328337a31007fe8a4f
|
||||
SIZE (tomli-2.0.1.tar.gz) = 15164
|
||||
2
python/py-tomli/pkg-descr
Normal file
2
python/py-tomli/pkg-descr
Normal file
@@ -0,0 +1,2 @@
|
||||
Tomli is a Python library for parsing TOML. Tomli is fully compatible with TOML
|
||||
v1.0.0.
|
||||
20
python/py-typing-extensions/Makefile
Normal file
20
python/py-typing-extensions/Makefile
Normal file
@@ -0,0 +1,20 @@
|
||||
PORTNAME= typing-extensions
|
||||
PORTVERSION= 4.4.0
|
||||
CATEGORIES= devel python
|
||||
MASTER_SITES= PYPI
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
DISTNAME= typing_extensions-${PORTVERSION}
|
||||
|
||||
MAINTAINER= sunpoet@FreeBSD.org
|
||||
COMMENT= Backported and Experimental Type Hints for Python 3.5+
|
||||
WWW= https://github.com/python/typing_extensions
|
||||
|
||||
USES= python:3.7+
|
||||
USE_PYTHON= allflavors autoplist concurrent pep517
|
||||
|
||||
PEP517_BUILD_CMD= ${PYTHON_CMD} -m flit_core.wheel
|
||||
PEP517_BUILD_DEPEND= ${PYTHON_PKGNAMEPREFIX}flit-core>=3.4<4:python/py-flit-core@${PY_FLAVOR}
|
||||
|
||||
NO_ARCH= yes
|
||||
|
||||
.include <bsd.port.mk>
|
||||
3
python/py-typing-extensions/distinfo
Normal file
3
python/py-typing-extensions/distinfo
Normal file
@@ -0,0 +1,3 @@
|
||||
TIMESTAMP = 1665330642
|
||||
SHA256 (typing_extensions-4.4.0.tar.gz) = 1511434bb92bf8dd198c12b1cc812e800d4181cfcb867674e0f8279cc93087aa
|
||||
SIZE (typing_extensions-4.4.0.tar.gz) = 49708
|
||||
9
python/py-typing-extensions/pkg-descr
Normal file
9
python/py-typing-extensions/pkg-descr
Normal file
@@ -0,0 +1,9 @@
|
||||
The typing module was added to the standard library in Python 3.5 on a
|
||||
provisional basis and will no longer be provisional in Python 3.7. However, this
|
||||
means users of Python 3.5 - 3.6 who are unable to upgrade will not be able to
|
||||
take advantage of new types added to the typing module, such as typing.Text or
|
||||
typing.Coroutine.
|
||||
|
||||
The typing_extensions module contains both backports of these changes as well as
|
||||
experimental types that will eventually be added to the typing module, such as
|
||||
Protocol.
|
||||
30
python/py-wheel/Makefile
Normal file
30
python/py-wheel/Makefile
Normal file
@@ -0,0 +1,30 @@
|
||||
PORTNAME= wheel
|
||||
PORTVERSION= 0.38.4
|
||||
CATEGORIES= devel
|
||||
MASTER_SITES= PYPI
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
|
||||
MAINTAINER= nivit@FreeBSD.org
|
||||
COMMENT= Built-package format for Python
|
||||
WWW= https://github.com/pypa/wheel
|
||||
|
||||
|
||||
USES= python:3.6+
|
||||
USE_PYTHON= autoplist concurrent distutils
|
||||
|
||||
# see https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=268500
|
||||
EXTRACT_CMD= ${SETENV} LC_ALL=en_US.UTF-8 /usr/bin/bsdtar
|
||||
NO_ARCH= yes
|
||||
|
||||
#OPTIONS_DEFINE= PIP SIGNATURE
|
||||
#
|
||||
#PIP_DESC= Use pip to install wheels
|
||||
#SIGNATURE_DESC= Enable digital signature of wheels
|
||||
#
|
||||
#PIP_RUN_DEPENDS= pip-${PYTHON_VER}:python/py-pip@${PY_FLAVOR}
|
||||
#SIGNATURE_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}dirspec>=13.05:python/py-dirspec@${PY_FLAVOR} \
|
||||
# ${PYTHON_PKGNAMEPREFIX}ed25519ll>=0.6_1:python/py-ed25519ll@${PY_FLAVOR} \
|
||||
# ${PYTHON_PKGNAMEPREFIX}keyring>=1.3:python/py-keyring@${PY_FLAVOR} \
|
||||
# ${PYTHON_PKGNAMEPREFIX}xdg>=0.25:python/py-xdg@${PY_FLAVOR}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
3
python/py-wheel/distinfo
Normal file
3
python/py-wheel/distinfo
Normal file
@@ -0,0 +1,3 @@
|
||||
TIMESTAMP = 1668765655
|
||||
SHA256 (wheel-0.38.4.tar.gz) = 965f5259b566725405b05e7cf774052044b1ed30119b5d586b2703aafe8719ac
|
||||
SIZE (wheel-0.38.4.tar.gz) = 67193
|
||||
13
python/py-wheel/pkg-descr
Normal file
13
python/py-wheel/pkg-descr
Normal file
@@ -0,0 +1,13 @@
|
||||
A built-package format for Python.
|
||||
|
||||
A wheel is a ZIP-format archive with a specially formatted filename and the
|
||||
.whl extension. It is designed to contain all the files for a PEP 376
|
||||
compatible install in a way that is very close to the on-disk format.
|
||||
Many packages will be properly installed with only the "Unpack" step (simply
|
||||
extracting the file onto sys.path), and the unpacked archive preserves enough
|
||||
information to "Spread" (copy data and scripts to their final locations)
|
||||
at any later time.
|
||||
|
||||
The wheel project provides a bdist_wheel command for setuptools (requires
|
||||
setuptools >= 0.8.0). Wheel files can be installed with a newer pip from
|
||||
https://github.com/pypa/pip or with wheel's own command line utility.
|
||||
@@ -1,34 +1,43 @@
|
||||
# Created by: ijliao@FreeBSD.org
|
||||
# $FreeBSD: head/devel/py-yaml/Makefile 474268 2018-07-09 15:21:31Z jpaetzel $
|
||||
|
||||
PORTNAME= yaml
|
||||
PORTVERSION= 3.13
|
||||
PORTVERSION= 6.0
|
||||
CATEGORIES= devel python
|
||||
MASTER_SITES= CHEESESHOP
|
||||
MASTER_SITES= PYPI
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
DISTNAME= PyYAML-${PORTVERSION}
|
||||
|
||||
MAINTAINER= jpaetzel@FreeBSD.org
|
||||
MAINTAINER= python@FreeBSD.org
|
||||
COMMENT= Python YAML parser
|
||||
WWW= https://pyyaml.org/
|
||||
|
||||
LIBYAML_DESC= Use textproc/libyaml for faster parsing
|
||||
USES= python:3.6+
|
||||
USE_PYTHON= autoplist concurrent cython distutils
|
||||
|
||||
USES= python
|
||||
USE_PYTHON= distutils autoplist
|
||||
CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}pyyaml5
|
||||
|
||||
#OPTIONS_DEFINE= LIBYAML EXAMPLES
|
||||
#OPTIONS_DEFAULT=LIBYAML
|
||||
#LIBYAML_DESC= Use textproc/libyaml for faster parsing
|
||||
#LIBYAML_LIB_DEPENDS= libyaml.so:text/libyaml
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
#.if ${PORT_OPTIONS:MLIBYAML}
|
||||
PYDISTUTILS_SETUP+= --with-libyaml
|
||||
PYDISTUTILS_BUILD_TARGET= build_ext
|
||||
PYDISTUTILS_BUILDARGS+= --include-dirs=${LOCALBASE}/include
|
||||
PYDISTUTILS_BUILDARGS+= --library-dirs=${LOCALBASE}/lib
|
||||
LIB_DEPENDS+= libyaml.so:text/libyaml
|
||||
|
||||
post-install:
|
||||
${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/_yaml.so
|
||||
|
||||
PYDISTUTILS_BUILDARGS+= --include-dirs=${LOCALBASE}/include \
|
||||
--library-dirs=${LOCALBASE}/lib
|
||||
#.else
|
||||
#PYDISTUTILS_SETUP+= --without-libyaml
|
||||
#NO_ARCH= yes
|
||||
#.endif
|
||||
|
||||
#post-install-EXAMPLES-on:
|
||||
# @(cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}/)
|
||||
|
||||
#post-install-LIBYAML-on:
|
||||
# @${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/yaml/_yaml*.so
|
||||
|
||||
do-test:
|
||||
@cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
#EOF
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
TIMESTAMP = 1531148322
|
||||
SHA256 (PyYAML-3.13.tar.gz) = 3ef3092145e9b70e3ddd2c7ad59bdd0252a94dfe3949721633e41344de00a6bf
|
||||
SIZE (PyYAML-3.13.tar.gz) = 270607
|
||||
TIMESTAMP = 1675104137
|
||||
SHA256 (PyYAML-6.0.tar.gz) = 68fb519c14306fec9720a2a5b45bc9f0c8d1b9c72adf45c37baedfcd949c35a2
|
||||
SIZE (PyYAML-6.0.tar.gz) = 124996
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
PyYAML is a YAML parser and emitter for the Python programming language.
|
||||
|
||||
PyYAML features :
|
||||
PyYAML features:
|
||||
* a complete YAML 1.1 parser. In particular, PyYAML can parse all examples
|
||||
from the specification. The parsing algorithm is simple enough to be a
|
||||
reference for YAML parser implementors.
|
||||
@@ -12,5 +12,3 @@ PyYAML features :
|
||||
* support for all types from the YAML types repository. A simple extension
|
||||
API is provided.
|
||||
* relatively sensible error messages.
|
||||
|
||||
WWW: http://pyyaml.org
|
||||
|
||||
19
python/py-zipp/Makefile
Normal file
19
python/py-zipp/Makefile
Normal file
@@ -0,0 +1,19 @@
|
||||
PORTNAME= zipp
|
||||
PORTVERSION= 3.4.0
|
||||
CATEGORIES= devel
|
||||
MASTER_SITES= PYPI
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
|
||||
MAINTAINER= swills@FreeBSD.org
|
||||
COMMENT= Backport of pathlib-compatible object wrapper for zip files
|
||||
WWW= https://github.com/jaraco/zipp
|
||||
|
||||
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools_scm>0:python/py-setuptools_scm@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}toml>=0:python/py-toml@${PY_FLAVOR}
|
||||
|
||||
USES= python:3.6+
|
||||
USE_PYTHON= autoplist distutils
|
||||
|
||||
NO_ARCH= yes
|
||||
|
||||
.include <bsd.port.mk>
|
||||
3
python/py-zipp/distinfo
Normal file
3
python/py-zipp/distinfo
Normal file
@@ -0,0 +1,3 @@
|
||||
TIMESTAMP = 1604116223
|
||||
SHA256 (zipp-3.4.0.tar.gz) = ed5eee1974372595f9e416cc7bbeeb12335201d8081ca8a0743c954d4446e5cb
|
||||
SIZE (zipp-3.4.0.tar.gz) = 15638
|
||||
1
python/py-zipp/pkg-descr
Normal file
1
python/py-zipp/pkg-descr
Normal file
@@ -0,0 +1 @@
|
||||
A pathlib-compatible Zipfile object wrapper.
|
||||
Reference in New Issue
Block a user