mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
47 lines
1.6 KiB
Tcl
47 lines
1.6 KiB
Tcl
# -*- 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 python 1.0
|
|
PortGroup github 1.0
|
|
|
|
github.setup macports upt-macports 51d6366775439be291d0ff123d901d26343bca81
|
|
# Change github.tarball_from to 'releases' or 'archive' next update
|
|
github.tarball_from tarball
|
|
version 0.1-20240203
|
|
name py-${github.project}
|
|
revision 0
|
|
|
|
supported_archs noarch
|
|
platforms {darwin any}
|
|
license BSD
|
|
maintainers {@korusuke somaiya.edu:karan.sheth} {reneeotten @reneeotten} openmaintainer
|
|
|
|
description MacPorts backend for upt
|
|
long_description {*}${description}
|
|
|
|
checksums rmd160 945393c9fd17c0ee0794f4996259e21a78fea370 \
|
|
sha256 eb0637303dbaa917c99491443cdffb317a5e42b17c37a7d829d4e82b8118495b \
|
|
size 11889
|
|
|
|
python.versions 310 311 312 313 314
|
|
|
|
if {${name} ne ${subport}} {
|
|
depends_lib-append \
|
|
port:py${python.version}-jinja2 \
|
|
port:py${python.version}-packaging \
|
|
port:py${python.version}-requests
|
|
|
|
depends_test-append \
|
|
port:py${python.version}-requests-mock
|
|
|
|
test.run yes
|
|
python.test_framework unittest
|
|
|
|
post-destroot {
|
|
set docdir ${prefix}/share/doc/${subport}
|
|
xinstall -d ${destroot}${docdir}
|
|
xinstall -m 0644 -W ${worksrcpath} README.md LICENSE CHANGELOG \
|
|
${destroot}${docdir}
|
|
}
|
|
}
|