|
|
@@ -5,7 +5,7 @@ PortGroup python 1.0 |
|
|
|
|
|
name py-tastypie |
|
|
set long_name django-tastypie |
|
|
version 0.9.9 |
|
|
version 0.14.2 |
|
|
revision 0 |
|
|
categories-append www |
|
|
license BSD |
|
|
@@ -16,20 +16,33 @@ maintainers nomaintainer |
|
|
description flexible & capable API layer for Django |
|
|
long_description ${description} |
|
|
|
|
|
homepage https://pypi.python.org/pypi/${long_name}/ |
|
|
homepage https://github.com/django-tastypie/django-tastypie |
|
|
master_sites pypi:d/${long_name} |
|
|
distname ${long_name}-${version} |
|
|
|
|
|
checksums rmd160 fdd26231fe42caceda5393e86f4b8a75b44e438f \ |
|
|
sha256 c72ac7eea348b0be9c4cf517312be4904f68706fa021148d858f44b5e44e64d9 |
|
|
checksums rmd160 3ba1d89a48e118f4682fe816a254cf269c8f93fd \ |
|
|
sha256 a3a2413510009649e0eac885ead96891c783ced788fd94231dc2f72b7a1b4c04 \ |
|
|
size 146055 |
|
|
|
|
|
python.versions 27 |
|
|
python.versions 27 37 |
|
|
|
|
|
if {${name} ne ${subport}} { |
|
|
depends_lib port:py${python.version}-django \ |
|
|
depends_build-append \ |
|
|
port:py${python.version}-setuptools |
|
|
|
|
|
depends_lib-append \ |
|
|
port:py${python.version}-django \ |
|
|
port:py${python.version}-dateutil \ |
|
|
port:py${python.version}-mimeparse |
|
|
} |
|
|
|
|
|
livecheck.type regex |
|
|
livecheck.regex {${long_name}-(\d+(?:\.\d+)*)} |
|
|
post-destroot { |
|
|
set docdir ${prefix}/share/doc/${subport} |
|
|
xinstall -d ${destroot}${docdir} |
|
|
xinstall -m 0644 -W ${worksrcpath} AUTHORS LICENSE \ |
|
|
README.rst ${destroot}${docdir} |
|
|
} |
|
|
|
|
|
livecheck.type none |
|
|
} else { |
|
|
livecheck.name django-tastypie |
|
|
} |