diff --git a/python/py-paste/Portfile b/python/py-paste/Portfile index 4b7988e982f..e0c26a7f5bc 100644 --- a/python/py-paste/Portfile +++ b/python/py-paste/Portfile @@ -4,10 +4,9 @@ PortSystem 1.0 PortGroup python 1.0 name py-paste -python.rootname Paste -version 2.0.3 -python.versions 27 +version 3.10.1 +python.versions 27 310 311 312 313 categories-append www license MIT ZPL-2 PSF maintainers nomaintainer @@ -20,18 +19,27 @@ long_description Python Paste brings consistency to Python web \ platforms {darwin any} supported_archs noarch -homepage http://pythonpaste.org/ +homepage https://pythonpaste.readthedocs.io/en/latest/ -checksums rmd160 816728eed3067b1d7b312cd0af3a63f1dae98143 \ +checksums rmd160 8b74c932e9d2d6c399b7315ecdf6417294e2a23f \ + sha256 1c3d12065a5e8a7a18c0c7be1653a97cf38cc3e9a5a0c8334a9dd992d3a05e4a \ + size 652629 + +if {${name} ne ${subport}} { + if {${python.version} == 27} { + python.rootname Paste + version 2.0.3 + revision 0 + checksums rmd160 816728eed3067b1d7b312cd0af3a63f1dae98143 \ sha256 2346a347824c32641bf020c17967b49ae74d3310ec1bc9b958d4b84e2d985218 \ size 643935 -if {${name} ne ${subport}} { - depends_lib-append \ - port:py${python.version}-setuptools + depends_lib-append \ + port:py${python.version}-setuptools - depends_test-append \ - port:py${python.version}-six + depends_test-append \ + port:py${python.version}-six + } test.run yes python.test_framework nose