diff --git a/python/internetarchive/Portfile b/python/internetarchive/Portfile new file mode 100644 index 0000000000000..393351e774cc8 --- /dev/null +++ b/python/internetarchive/Portfile @@ -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 + +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 diff --git a/python/py-schema/Portfile b/python/py-schema/Portfile new file mode 100644 index 0000000000000..d04d65e0dbfdf --- /dev/null +++ b/python/py-schema/Portfile @@ -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 + +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 diff --git a/python/tubeup/Portfile b/python/tubeup/Portfile new file mode 100644 index 0000000000000..ede2999f2ba65 --- /dev/null +++ b/python/tubeup/Portfile @@ -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 + +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=\" +"