Skip to content
Permalink
Browse files

py-tastypie: update to 0.14.2, add py37

- update homepage
- install files in post-destroot
- fix livecheck
  • Loading branch information
reneeotten committed Apr 14, 2019
1 parent 8a84371 commit f6d7ee82586db7e674829c3b0d7b8394e075903b
Showing with 22 additions and 9 deletions.
  1. +22 −9 python/py-tastypie/Portfile
@@ -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
}

0 comments on commit f6d7ee8

Please sign in to comment.
You can’t perform that action at this time.