Skip to content
Permalink
Browse files

py-spdx, py-spdx-lookup: New Ports (Submission)

  • Loading branch information
Korusuke authored and reneeotten committed Apr 25, 2019
1 parent 08408fd commit e0c941764f95fb03ce82dd2c485aba12bf5c428c
Showing with 81 additions and 0 deletions.
  1. +41 −0 python/py-spdx-lookup/Portfile
  2. +40 −0 python/py-spdx/Portfile
@@ -0,0 +1,41 @@
# -*- 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-spdx-lookup
version 0.3.2
revision 0

maintainers {@korusuke somaiya.edu:karan.sheth} openmaintainer
description SPDX license list query tool
long_description ${description}

platforms darwin
supported_archs noarch

homepage https://github.com/bbqsrc/spdx-lookup-python
master_sites pypi:[string index ${python.rootname} 0]/${python.rootname}
distname ${python.rootname}-${version}

license BSD
checksums sha256 d81e16ace58f668be3c2a8502355269e1661083a0c8538015945821469f6a5fa \
rmd160 3ba50ad1b5d273d5c8e426d4d8375a3e2b6e5a56 \
size 4763

python.versions 37

if {${name} ne ${subport}} {
depends_lib-append \
port:py${python.version}-setuptools \
port:py${python.version}-spdx

post-destroot {
set docdir ${prefix}/share/doc/${subport}
xinstall -d ${destroot}${docdir}
xinstall -m 0644 -W ${worksrcpath} README.rst LICENSE \
${destroot}${docdir}
}

livecheck.type none
}
@@ -0,0 +1,40 @@
# -*- 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-spdx
version 2.5.0
revision 0

maintainers {@korusuke somaiya.edu:karan.sheth} openmaintainer
description SPDX license list database
long_description ${description}

platforms darwin
supported_archs noarch

homepage https://github.com/bbqsrc/spdx-python
master_sites pypi:[string index ${python.rootname} 0]/${python.rootname}
distname ${python.rootname}-${version}

license public-domain
checksums sha256 2ccfb2c3dc8f669fe294bd08db868601c4bb42234b2a75dcda7f87dc498f5a07 \
rmd160 75eb9e666afc02ad8e9ad17f2ea9693e76463ea5 \
size 587094

python.versions 37

if {${name} ne ${subport}} {
depends_build-append \
port:py${python.version}-setuptools

post-destroot {
set docdir ${prefix}/share/doc/${subport}
xinstall -d ${destroot}${docdir}
xinstall -m 0644 -W ${worksrcpath} README.rst LICENSE \
${destroot}${docdir}
}

livecheck.type none
}

0 comments on commit e0c9417

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