You've already forked macports-ports
mirror of
https://github.com/encounter/macports-ports.git
synced 2026-03-30 11:29:27 -07:00
49 lines
1.6 KiB
Tcl
49 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
|
|
|
|
name py-datacite
|
|
version 1.0.1
|
|
revision 0
|
|
|
|
categories-append net
|
|
platforms darwin
|
|
supported_archs noarch
|
|
license BSD
|
|
maintainers {petr @petrrr} openmaintainer
|
|
|
|
description Python wrapper for the DataCite Metadata Store API
|
|
long_description ${description}
|
|
|
|
homepage https://datacite.readthedocs.org
|
|
master_sites pypi:[string index ${python.rootname} 0]/${python.rootname}
|
|
distname ${python.rootname}-${version}
|
|
|
|
checksums rmd160 a9ce77fd1351e9b18a262ae986a8e2bf423cae2b \
|
|
sha256 08cdede700550d5f8a2d0d5ac3af712d4f344bcfedb2d99cfacb8ce3a1fd9590 \
|
|
size 46948
|
|
|
|
python.versions 27 35 36 37 38
|
|
|
|
if {${name} ne ${subport}} {
|
|
depends_build-append \
|
|
port:py${python.version}-setuptools \
|
|
port:py${python.version}-pytest-runner
|
|
|
|
depends_lib-append \
|
|
port:py${python.version}-jsonschema \
|
|
port:py${python.version}-lxml \
|
|
port:py${python.version}-requests
|
|
|
|
post-destroot {
|
|
set docdir ${prefix}/share/doc/${subport}
|
|
xinstall -d ${destroot}${docdir}
|
|
xinstall -m 0644 -W ${worksrcpath} AUTHORS.rst \
|
|
CHANGES.rst CONTRIBUTING.rst LICENSE \
|
|
MAINTAINERS README.rst ${destroot}${docdir}
|
|
}
|
|
|
|
livecheck.type none
|
|
}
|