You've already forked macports-ports
mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
d158533d88
- drop py38, add py313 subport
49 lines
1.5 KiB
Tcl
49 lines
1.5 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
|
|
|
|
name py-datacite
|
|
version 1.3.1
|
|
revision 0
|
|
|
|
categories-append net
|
|
supported_archs noarch
|
|
platforms {darwin any}
|
|
license BSD
|
|
maintainers {petr @petrrr} openmaintainer
|
|
|
|
description Python wrapper for the DataCite Metadata Store API
|
|
long_description {*}${description}
|
|
|
|
homepage https://datacite.readthedocs.org
|
|
|
|
checksums rmd160 2309ad9a5b315087e5bbd7af63d7f7cef89f6058 \
|
|
sha256 6514d6c87493e040d46d55113776410a142e6eec9c8ebe9e89513d0ed084fb94 \
|
|
size 147801
|
|
|
|
python.versions 313
|
|
|
|
if {${name} ne ${subport}} {
|
|
depends_lib-append \
|
|
port:py${python.version}-jsonschema \
|
|
port:py${python.version}-lxml \
|
|
port:py${python.version}-requests \
|
|
port:py${python.version}-idutils \
|
|
port:py${python.version}-importlib-metadata
|
|
|
|
test.run yes
|
|
|
|
depends_test-append \
|
|
port:py${python.version}-responses \
|
|
port:py${python.version}-lxml
|
|
|
|
post-destroot {
|
|
set docdir ${prefix}/share/doc/${subport}
|
|
xinstall -d ${destroot}${docdir}
|
|
xinstall -m 0644 -W ${worksrcpath} \
|
|
CHANGES.rst CONTRIBUTING.rst LICENSE \
|
|
README.rst ${destroot}${docdir}
|
|
}
|
|
}
|