You've already forked macports-ports
mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
py-stone: update to 3.3.9, add py31[3,4] subports
- switch to PyPI
This commit is contained in:
committed by
Renee Otten
parent
9f0c181f9e
commit
b3cc15560a
+14
-16
@@ -1,36 +1,34 @@
|
||||
# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim: fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
|
||||
|
||||
PortSystem 1.0
|
||||
PortGroup github 1.0
|
||||
PortGroup python 1.0
|
||||
|
||||
# PyPi tarball is broken, missing requirements.txt,
|
||||
# which is called by setup.py script.
|
||||
name py-stone
|
||||
github.setup dropbox stone 3.3.1 v
|
||||
version 3.3.9
|
||||
revision 0
|
||||
|
||||
categories-append devel
|
||||
license MIT
|
||||
supported_archs noarch
|
||||
platforms {darwin any}
|
||||
|
||||
python.versions 310 311 312
|
||||
|
||||
maintainers nomaintainer
|
||||
|
||||
description The Official Api Spec Language for Dropbox
|
||||
long_description {*}${description}
|
||||
|
||||
checksums rmd160 5d8ea85f3c19062386c8a68e8867e86bf3afbb60 \
|
||||
sha256 dc5aff3fad1333188d4ddb4eee0a19d31e6262bb3cdf10c0bbdaeb309ff91a52 \
|
||||
size 282831
|
||||
github.tarball_from archive
|
||||
homepage https://github.com/dropbox/stone
|
||||
|
||||
checksums rmd160 5e2ff635a00b20c01f0913fad96bc12feab865b1 \
|
||||
sha256 8f1298683f60ffa9e43edbfd55beb0a20993235d5c751e7adb3030dc16d17fad \
|
||||
size 194103
|
||||
|
||||
python.versions 310 311 312 313 314
|
||||
|
||||
if {${name} ne ${subport}} {
|
||||
# setup.py hardcodes an archaic version of pytest-runner to support python 2.7.
|
||||
patchfiles-append patch-allow-new-pytest-runner.diff
|
||||
patchfiles-append patch-remove-pytest-runner.diff
|
||||
|
||||
depends_build-append \
|
||||
port:py${python.version}-pytest-runner
|
||||
depends_lib-append port:py${python.version}-ply \
|
||||
port:py${python.version}-six
|
||||
port:py${python.version}-six \
|
||||
port:py${python.version}-packaging \
|
||||
port:py${python.version}-jinja2
|
||||
}
|
||||
|
||||
@@ -1,11 +0,0 @@
|
||||
--- setup.py 2022-01-26 05:26:37.000000000 +0800
|
||||
+++ setup.py 2023-11-06 06:11:46.000000000 +0800
|
||||
@@ -24,7 +24,7 @@
|
||||
setup_requires = [
|
||||
# Pin pytest-runner to 5.2.0, since 5.3.0 uses `find_namespaces` directive, not supported in
|
||||
# Python 2.7
|
||||
- 'pytest-runner == 5.2.0',
|
||||
+ 'pytest-runner >= 5.2.0',
|
||||
]
|
||||
|
||||
# WARNING: This imposes limitations on test/requirements.txt such that the
|
||||
@@ -0,0 +1,13 @@
|
||||
--- setup.py.orig 2026-01-20 09:56:57
|
||||
+++ setup.py 2026-01-20 09:57:09
|
||||
@@ -20,9 +20,7 @@
|
||||
with open('requirements.txt') as f: # pylint: disable=W1514
|
||||
install_reqs += f.read().splitlines()
|
||||
|
||||
-setup_requires = [
|
||||
- 'pytest-runner == 5.3.2',
|
||||
-]
|
||||
+setup_requires = []
|
||||
|
||||
# WARNING: This imposes limitations on test/requirements.txt such that the
|
||||
# full Pip syntax is not supported. See also
|
||||
Reference in New Issue
Block a user