Skip to content
Permalink
Browse files

py-upt ports: New Ports (Submission)

Ports:
py-upt
py-upt-macports
py-upt-pypi
py-upt-cpan
  • Loading branch information
Korusuke authored and reneeotten committed Apr 25, 2019
1 parent e0c9417 commit 398dab67c77e3fba0fa6df514393d18b4fbee461
Showing with 197 additions and 0 deletions.
  1. +51 −0 python/py-upt-cpan/Portfile
  2. +47 −0 python/py-upt-macports/Portfile
  3. +48 −0 python/py-upt-pypi/Portfile
  4. +51 −0 python/py-upt/Portfile
@@ -0,0 +1,51 @@
# -*- 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-upt-cpan
version 0.4
revision 0

maintainers {@korusuke somaiya.edu:karan.sheth} openmaintainer
description CPAN frontend for upt
long_description ${description}

platforms darwin
supported_archs noarch

homepage https://framagit.org/upt/upt-cpan
master_sites pypi:[string index ${python.rootname} 0]/${python.rootname}
distname ${python.rootname}-${version}

license BSD
checksums sha256 47ebc37bf4510867858eec52e2d23221bc5a0f061a057b41892cb96b8e3def14 \
rmd160 418532c5abb388d4ddcb050610944266ba1f456c \
size 5091

python.versions 37

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

depends_lib-append \
port:py${python.version}-requests

depends_test-append \
port:py${python.version}-requests-mock

test.run yes
test.cmd ${python.bin} -m unittest
test.target
test.env PYTHONPATH=${worksrcpath}/build/lib

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

livecheck.type none
}
@@ -0,0 +1,47 @@
# -*- 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
PortGroup github 1.0

set git_hash 20b55dcc6a06f48da8a22c415bc74315dda5cb2e
github.setup macports upt-macports ${git_hash}
version 0.1-20190425
name py-${github.project}
revision 0

maintainers {@korusuke somaiya.edu:karan.sheth} openmaintainer
description MacPorts backend for upt.
long_description ${description}

platforms darwin
supported_archs noarch

license BSD
checksums sha256 0ca86ece08418bec373d7c8de89dab17426ed23916bfc0bddae6265f8af917b0 \
rmd160 ac5ba54d37bb8b907ea930cdc13f449e036e10e2 \
size 4608

python.versions 37

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

depends_lib-append \
port:py${python.version}-jinja2

test.run yes
test.cmd ${python.bin} -m unittest
test.target
test.env PYTHONPATH=${worksrcpath}/build/lib

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

livecheck.type none
}
@@ -0,0 +1,48 @@
# -*- 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-upt-pypi
version 0.3
revision 0

maintainers {@korusuke somaiya.edu:karan.sheth} openmaintainer
description PyPI frontend for upt
long_description ${description}

platforms darwin
supported_archs noarch

homepage https://framagit.org/upt/upt-pypi
master_sites pypi:[string index ${python.rootname} 0]/${python.rootname}
distname ${python.rootname}-${version}

license BSD
checksums sha256 5f71c7345163e8b5b051636f33f58c72fdbb56d8f06a02524a127b8258d97978 \
rmd160 0a44fbae342763155310c0ec483145a41b7ca088 \
size 8870

python.versions 37

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

depends_lib-append \
port:py${python.version}-requests

test.run yes
test.cmd ${python.bin} -m unittest
test.target
test.env PYTHONPATH=${worksrcpath}/build/lib

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

livecheck.type none
}
@@ -0,0 +1,51 @@
# -*- 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-upt
version 0.6
revision 0

maintainers {@korusuke somaiya.edu:karan.sheth} openmaintainer
description Package software from any package manager to any distribution
long_description ${description}

platforms darwin
supported_archs noarch

homepage https://framagit.org/upt/upt
master_sites pypi:[string index ${python.rootname} 0]/${python.rootname}
distname ${python.rootname}-${version}

license BSD
checksums sha256 707b79dd699f5bdd68ef2eeb66bacfe2f86e0c93f99ad3a5c48b1b6a799b222b \
rmd160 3b7b367dde8fe48315708de8cbbcf02034286fd5 \
size 23609

python.versions 37

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

depends_run-append \
port:py${python.version}-upt-macports \
port:py${python.version}-upt-cpan \
port:py${python.version}-upt-pypi

test.run yes
test.cmd ${python.bin} -m unittest
test.target
test.env PYTHONPATH=${worksrcpath}/build/lib

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

livecheck.type none
}

0 comments on commit 398dab6

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