Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tubeup: new port #23836

Merged
merged 3 commits into from
May 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 32 additions & 0 deletions python/internetarchive/Portfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# -*- 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 internetarchive
version 4.1.0
revision 0

categories-append net
platforms {darwin any}
supported_archs noarch
license AGPL-3
maintainers nomaintainer

contextnerror marked this conversation as resolved.
Show resolved Hide resolved
description A Python interface to archive.org.
long_description {*}${description}

homepage https://github.com/jjjake/internetarchive

checksums rmd160 eb273200a38dec3a00fee2dad1e3e4f7d6b204e3 \
sha256 467188386218d2c77815ca798a51dd18310b326841113bb462b24ea9a71beedc \
size 104655

python.default_version 312

depends_lib-append port:py${python.version}-docopt \
port:py${python.version}-jsonpatch \
port:py${python.version}-requests \
port:py${python.version}-schema \
port:py${python.version}-tqdm \
port:py${python.version}-urllib3
26 changes: 26 additions & 0 deletions python/py-schema/Portfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# -*- 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-schema
version 0.7.7
revision 0

platforms {darwin any}
supported_archs noarch
license MIT
maintainers nomaintainer

contextnerror marked this conversation as resolved.
Show resolved Hide resolved
description Simple data validation library
long_description schema is a library for validating Python data structures, \
such as those obtained from config-files, forms, external services or command-line parsing, \
converted from JSON/YAML (or something else) to Python data-types.

homepage https://github.com/keleshev/schema

checksums rmd160 441eb7557fefade868664995c3ddfc66c09e91e0 \
sha256 7da553abd2958a19dc2547c388cde53398b39196175a9be59ea1caf5ab0a1807 \
size 44245

python.versions 312
38 changes: 38 additions & 0 deletions python/tubeup/Portfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
# -*- 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 active_variants 1.1

name tubeup
version 2023.8.19
revision 0

categories-append multimedia
platforms {darwin any}
supported_archs noarch
license GPL-3+
maintainers nomaintainer

contextnerror marked this conversation as resolved.
Show resolved Hide resolved
description VOD service to Archive.org uploader
long_description Use yt-dlp to download video and upload to the Internet Archive with metadata.

homepage https://github.com/bibanon/tubeup

checksums rmd160 ac96df02aab658d166e814e7b7e397323e96590e \
sha256 d1ab693942487d7830ff97e2e70d9c8801433205a6547e14f1df38cf02c24579 \
size 25022

python.default_version 312

require_active_variants yt-dlp ffmpeg

depends_lib-append port:internetarchive \
port:py${python.version}-docopt \
port:yt-dlp

notes "
You need to configure your Internet Archive account with \"ia configure\" before you can upload.

Tubeup sets the mediatype metadata to \"movies\" by default. Mediatype cannot be changed after upload; if you need to set this to somthing else use \"--metadata=<key:value>\"
"