You've already forked macports-ports
mirror of
https://github.com/encounter/macports-ports.git
synced 2026-03-30 11:29:27 -07:00
67276c111a
- add noarch - enable tests - install files in post-destroot - use default PyPI livecheck
50 lines
1.6 KiB
Tcl
50 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-anyjson
|
|
version 0.3.3
|
|
revision 1
|
|
|
|
categories-append www
|
|
platforms darwin
|
|
supported_archs noarch
|
|
license BSD
|
|
maintainers nomaintainer
|
|
|
|
description Wrap the best available JSON implementation in a common API
|
|
long_description Anyjson wraps the best available JSON implementation \
|
|
in a common interface. Anyjson loads whichever is the \
|
|
fastest JSON module installed and provides a uniform API \
|
|
regardless of which JSON implementation is used.
|
|
|
|
homepage https://bitbucket.org/runeh/anyjson/
|
|
master_sites pypi:a/anyjson/
|
|
distname anyjson-${version}
|
|
|
|
checksums rmd160 c85bad7565e983077ea863ec99ca45048faecb18 \
|
|
sha256 37812d863c9ad3e35c0734c42e0bf0320ce8c3bed82cd20ad54cb34d158157ba \
|
|
size 8332
|
|
|
|
python.versions 27 35 36
|
|
|
|
if {${name} ne ${subport}} {
|
|
depends_build-append \
|
|
port:py${python.version}-setuptools
|
|
|
|
depends_test-append \
|
|
port:py${python.version}-nose
|
|
test.run yes
|
|
test.env PYTHONPATH=${worksrcpath}/build/lib
|
|
|
|
post-destroot {
|
|
set docdir ${prefix}/share/doc/${subport}
|
|
xinstall -d ${destroot}${docdir}
|
|
xinstall -m 0644 -W ${worksrcpath} README LICENSE \
|
|
CHANGELOG ${destroot}${docdir}
|
|
}
|
|
|
|
livecheck.type none
|
|
}
|