Commits
Renee Otten authored 1ac0b2bee3d
1 1 | # -*- 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 |
2 2 | |
3 3 | PortSystem 1.0 |
4 4 | PortGroup python 1.0 |
5 + | PortGroup github 1.0 |
5 6 | |
7 + | github.setup twisted incremental 17.5.0 |
8 + | github.tarball_from archive |
6 9 | name py-incremental |
7 - | version 17.5.0 |
10 + | revision 0 |
11 + | |
8 12 | categories-append devel |
9 13 | license MIT |
10 14 | platforms darwin |
11 15 | maintainers {mcalhoun @MarcusCalhoun-Lopez} openmaintainer |
12 16 | description A small library that versions your Python projects |
13 17 | long_description Incremental is a small library that versions your Python projects. |
14 18 | |
15 - | homepage https://github.com/twisted/incremental |
16 - | |
17 - | master_sites https://github.com/twisted/incremental/archive |
18 - | |
19 - | distname incremental-${version} |
20 - | |
21 19 | checksums rmd160 d43e1e373acf42abcaaef8ffde8f77bf5a48abb5 \ |
22 - | sha256 7be9a13ebb2ad1dd1ed3ecf547c3fa6e1154bb793418c6cc504b9b6039b0045a |
23 - | |
24 - | worksrcdir incremental-incremental-${version} |
20 + | sha256 7be9a13ebb2ad1dd1ed3ecf547c3fa6e1154bb793418c6cc504b9b6039b0045a \ |
21 + | size 14674 |
25 22 | |
26 - | python.versions 27 34 35 36 37 |
23 + | python.versions 27 35 36 37 |
27 24 | |
28 25 | if {${name} ne ${subport}} { |
29 - | |
30 26 | # see https://pypi.python.org/pypi/incremental/ |
31 27 | #depends_lib-append port:py${python.version}-twisted |
32 28 | if {[catch {set installed [lindex [registry_active py${python.version}-twisted] 0]}]} { |
33 29 | notes " |
34 30 | ${subport} depends on py${python.version}-twisted to run properly, but py${python.version}-twisted depends on ${subport} to both build and run correctly. |
35 31 | Please install py${python.version}-twisted manually for correct functionality. |
36 32 | " |
37 33 | } |
38 34 | |
39 35 | depends_build-append \ |
40 36 | port:py${python.version}-setuptools |
41 37 | |
42 38 | depends_lib-append \ |
43 39 | port:py${python.version}-click |
44 40 | |
45 41 | livecheck.type none |
46 - | } else { |
47 - | livecheck.type regex |
48 - | livecheck.url https://github.com/twisted/incremental/tags |
49 - | livecheck.regex "(\\d+(?:\\.\\d)*\[.a-z0-9\]*)${extract.suffix}" |
50 42 | } |