pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
subsync: add new unfinished package
Module Name: pkgsrc-wip
Committed By: Thomas Klausner <tk%giga.or.at@localhost>
Pushed By: wiz
Date: Wed Jan 12 23:43:22 2022 +0100
Changeset: 4b5cae87ffb70aa5533a34ac52f7c3420c3a476a
Modified Files:
Makefile
Added Files:
py-librosa/DESCR
py-librosa/Makefile
py-librosa/PLIST
py-librosa/TODO
py-librosa/distinfo
py-resampy/DESCR
py-resampy/Makefile
py-resampy/PLIST
py-resampy/TODO
py-resampy/distinfo
subsync/DESCR
subsync/Makefile
subsync/PLIST
subsync/TODO
subsync/distinfo
subsync/patches/patch-setup.py
Log Message:
subsync: add new unfinished package
needs tensorflow
Also add two of its dependencies:
py-librosa and py-resampy
The packages are done, but the self tests only test coverage,
so I'm not sure they work. Feel free to import if they do.
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=4b5cae87ffb70aa5533a34ac52f7c3420c3a476a
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
Makefile | 4 ++
py-librosa/DESCR | 3 ++
py-librosa/Makefile | 40 +++++++++++++++
py-librosa/PLIST | 107 +++++++++++++++++++++++++++++++++++++++++
py-librosa/TODO | 1 +
py-librosa/distinfo | 5 ++
py-resampy/DESCR | 4 ++
py-resampy/Makefile | 23 +++++++++
py-resampy/PLIST | 23 +++++++++
py-resampy/TODO | 1 +
py-resampy/distinfo | 5 ++
subsync/DESCR | 6 +++
subsync/Makefile | 22 +++++++++
subsync/PLIST | 34 +++++++++++++
subsync/TODO | 1 +
subsync/distinfo | 6 +++
subsync/patches/patch-setup.py | 15 ++++++
17 files changed, 300 insertions(+)
diffs:
diff --git a/Makefile b/Makefile
index e277362a57..ed0c9da4e0 100644
--- a/Makefile
+++ b/Makefile
@@ -2468,6 +2468,7 @@ SUBDIR+= mppp
SUBDIR+= mpq-tools
SUBDIR+= mps-youtube
SUBDIR+= mpv-git
+SUBDIR+= mrust
SUBDIR+= mrust-cargo
SUBDIR+= mrust-libs
SUBDIR+= mrust-minicargo
@@ -4031,6 +4032,7 @@ SUBDIR+= py-libmpdclient2
SUBDIR+= py-libopensync-plugin
SUBDIR+= py-libqutrub
SUBDIR+= py-librabbitmq
+SUBDIR+= py-librosa
SUBDIR+= py-libtextcat
SUBDIR+= py-libtorrent-rasterbar
SUBDIR+= py-libvirt
@@ -4503,6 +4505,7 @@ SUBDIR+= py-reproducible
SUBDIR+= py-reproject
SUBDIR+= py-requests-cache
SUBDIR+= py-requirementslib
+SUBDIR+= py-resampy
SUBDIR+= py-resonance
SUBDIR+= py-restkit
SUBDIR+= py-retrying
@@ -5359,6 +5362,7 @@ SUBDIR+= strongswan
SUBDIR+= structure
SUBDIR+= stumpwm
SUBDIR+= subread
+SUBDIR+= subsync
SUBDIR+= suitesparse
SUBDIR+= sulley
SUBDIR+= sunterlib
diff --git a/py-librosa/DESCR b/py-librosa/DESCR
new file mode 100644
index 0000000000..3a94183365
--- /dev/null
+++ b/py-librosa/DESCR
@@ -0,0 +1,3 @@
+librosa is a python package for music and audio analysis. It provides
+the building blocks necessary to create music information retrieval
+systems.
diff --git a/py-librosa/Makefile b/py-librosa/Makefile
new file mode 100644
index 0000000000..95ec6aca44
--- /dev/null
+++ b/py-librosa/Makefile
@@ -0,0 +1,40 @@
+# $NetBSD: Makefile,v 1.13 2022/01/04 20:52:34 wiz Exp $
+
+DISTNAME= librosa-0.8.1
+PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES= audio python
+MASTER_SITES= ${MASTER_SITE_PYPI:=l/librosa/}
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= https://librosa.org/
+COMMENT= Python module for audio and music processing
+LICENSE= isc
+
+DEPENDS+= ${PYPKGPREFIX}-audioread-[0-9]*:../../audio/py-audioread
+DEPENDS+= ${PYPKGPREFIX}-decorator-[0-9]*:../../devel/py-decorator
+DEPENDS+= ${PYPKGPREFIX}-joblib-[0-9]*:../../devel/py-joblib
+DEPENDS+= ${PYPKGPREFIX}-numba-[0-9]*:../../math/py-numba
+DEPENDS+= ${PYPKGPREFIX}-numpy-[0-9]*:../../math/py-numpy
+DEPENDS+= ${PYPKGPREFIX}-packaging-[0-9]*:../../devel/py-packaging
+DEPENDS+= ${PYPKGPREFIX}-pooch-[0-9]*:../../devel/py-pooch
+DEPENDS+= ${PYPKGPREFIX}-resampy-[0-9]*:../../wip/py-resampy
+DEPENDS+= ${PYPKGPREFIX}-soundfile-[0-9]*:../../audio/py-soundfile
+DEPENDS+= ${PYPKGPREFIX}-scikit-learn-[0-9]*:../../math/py-scikit-learn
+DEPENDS+= ${PYPKGPREFIX}-scipy-[0-9]*:../../math/py-scipy
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-cov-[0-9]*:../../devel/py-test-cov
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-mpl-[0-9]*:../../wip/py-test-mpl
+# test dependencies
+# contextlib2
+# samplerate
+# soxr
+
+USE_LANGUAGES= # none
+
+PYTHON_VERSIONS_INCOMPATIBLE= 27
+
+do-test:
+ cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX}
+
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/py-librosa/PLIST b/py-librosa/PLIST
new file mode 100644
index 0000000000..f89e23563c
--- /dev/null
+++ b/py-librosa/PLIST
@@ -0,0 +1,107 @@
+@comment $NetBSD$
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/requires.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/librosa/__init__.py
+${PYSITELIB}/librosa/__init__.pyc
+${PYSITELIB}/librosa/__init__.pyo
+${PYSITELIB}/librosa/_cache.py
+${PYSITELIB}/librosa/_cache.pyc
+${PYSITELIB}/librosa/_cache.pyo
+${PYSITELIB}/librosa/beat.py
+${PYSITELIB}/librosa/beat.pyc
+${PYSITELIB}/librosa/beat.pyo
+${PYSITELIB}/librosa/core/__init__.py
+${PYSITELIB}/librosa/core/__init__.pyc
+${PYSITELIB}/librosa/core/__init__.pyo
+${PYSITELIB}/librosa/core/audio.py
+${PYSITELIB}/librosa/core/audio.pyc
+${PYSITELIB}/librosa/core/audio.pyo
+${PYSITELIB}/librosa/core/constantq.py
+${PYSITELIB}/librosa/core/constantq.pyc
+${PYSITELIB}/librosa/core/constantq.pyo
+${PYSITELIB}/librosa/core/convert.py
+${PYSITELIB}/librosa/core/convert.pyc
+${PYSITELIB}/librosa/core/convert.pyo
+${PYSITELIB}/librosa/core/fft.py
+${PYSITELIB}/librosa/core/fft.pyc
+${PYSITELIB}/librosa/core/fft.pyo
+${PYSITELIB}/librosa/core/harmonic.py
+${PYSITELIB}/librosa/core/harmonic.pyc
+${PYSITELIB}/librosa/core/harmonic.pyo
+${PYSITELIB}/librosa/core/notation.py
+${PYSITELIB}/librosa/core/notation.pyc
+${PYSITELIB}/librosa/core/notation.pyo
+${PYSITELIB}/librosa/core/pitch.py
+${PYSITELIB}/librosa/core/pitch.pyc
+${PYSITELIB}/librosa/core/pitch.pyo
+${PYSITELIB}/librosa/core/spectrum.py
+${PYSITELIB}/librosa/core/spectrum.pyc
+${PYSITELIB}/librosa/core/spectrum.pyo
+${PYSITELIB}/librosa/decompose.py
+${PYSITELIB}/librosa/decompose.pyc
+${PYSITELIB}/librosa/decompose.pyo
+${PYSITELIB}/librosa/display.py
+${PYSITELIB}/librosa/display.pyc
+${PYSITELIB}/librosa/display.pyo
+${PYSITELIB}/librosa/effects.py
+${PYSITELIB}/librosa/effects.pyc
+${PYSITELIB}/librosa/effects.pyo
+${PYSITELIB}/librosa/feature/__init__.py
+${PYSITELIB}/librosa/feature/__init__.pyc
+${PYSITELIB}/librosa/feature/__init__.pyo
+${PYSITELIB}/librosa/feature/inverse.py
+${PYSITELIB}/librosa/feature/inverse.pyc
+${PYSITELIB}/librosa/feature/inverse.pyo
+${PYSITELIB}/librosa/feature/rhythm.py
+${PYSITELIB}/librosa/feature/rhythm.pyc
+${PYSITELIB}/librosa/feature/rhythm.pyo
+${PYSITELIB}/librosa/feature/spectral.py
+${PYSITELIB}/librosa/feature/spectral.pyc
+${PYSITELIB}/librosa/feature/spectral.pyo
+${PYSITELIB}/librosa/feature/utils.py
+${PYSITELIB}/librosa/feature/utils.pyc
+${PYSITELIB}/librosa/feature/utils.pyo
+${PYSITELIB}/librosa/filters.py
+${PYSITELIB}/librosa/filters.pyc
+${PYSITELIB}/librosa/filters.pyo
+${PYSITELIB}/librosa/onset.py
+${PYSITELIB}/librosa/onset.pyc
+${PYSITELIB}/librosa/onset.pyo
+${PYSITELIB}/librosa/segment.py
+${PYSITELIB}/librosa/segment.pyc
+${PYSITELIB}/librosa/segment.pyo
+${PYSITELIB}/librosa/sequence.py
+${PYSITELIB}/librosa/sequence.pyc
+${PYSITELIB}/librosa/sequence.pyo
+${PYSITELIB}/librosa/util/__init__.py
+${PYSITELIB}/librosa/util/__init__.pyc
+${PYSITELIB}/librosa/util/__init__.pyo
+${PYSITELIB}/librosa/util/_nnls.py
+${PYSITELIB}/librosa/util/_nnls.pyc
+${PYSITELIB}/librosa/util/_nnls.pyo
+${PYSITELIB}/librosa/util/decorators.py
+${PYSITELIB}/librosa/util/decorators.pyc
+${PYSITELIB}/librosa/util/decorators.pyo
+${PYSITELIB}/librosa/util/deprecation.py
+${PYSITELIB}/librosa/util/deprecation.pyc
+${PYSITELIB}/librosa/util/deprecation.pyo
+${PYSITELIB}/librosa/util/example_data/index.json
+${PYSITELIB}/librosa/util/example_data/registry.txt
+${PYSITELIB}/librosa/util/exceptions.py
+${PYSITELIB}/librosa/util/exceptions.pyc
+${PYSITELIB}/librosa/util/exceptions.pyo
+${PYSITELIB}/librosa/util/files.py
+${PYSITELIB}/librosa/util/files.pyc
+${PYSITELIB}/librosa/util/files.pyo
+${PYSITELIB}/librosa/util/matching.py
+${PYSITELIB}/librosa/util/matching.pyc
+${PYSITELIB}/librosa/util/matching.pyo
+${PYSITELIB}/librosa/util/utils.py
+${PYSITELIB}/librosa/util/utils.pyc
+${PYSITELIB}/librosa/util/utils.pyo
+${PYSITELIB}/librosa/version.py
+${PYSITELIB}/librosa/version.pyc
+${PYSITELIB}/librosa/version.pyo
diff --git a/py-librosa/TODO b/py-librosa/TODO
new file mode 100644
index 0000000000..11bb2cd715
--- /dev/null
+++ b/py-librosa/TODO
@@ -0,0 +1 @@
+Finished, but tests only test coverage, so not sure if it works.
diff --git a/py-librosa/distinfo b/py-librosa/distinfo
new file mode 100644
index 0000000000..69c6c86b8b
--- /dev/null
+++ b/py-librosa/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.8 2021/10/26 09:59:25 nia Exp $
+
+BLAKE2s (librosa-0.8.1.tar.gz) = d5584fa38ad4ce2988493f003640f11471554a2d55c2104f8ea87b381b291ac9
+SHA512 (librosa-0.8.1.tar.gz) = c6736eed87252b7f85a7eda50ecafaed9a7080b96b06b0d51a552d56c8028b75b11f6c7006552e30f9ee74c6202644853712d64481d5d1873f5b5f6694a295f5
+Size (librosa-0.8.1.tar.gz) = 189365 bytes
diff --git a/py-resampy/DESCR b/py-resampy/DESCR
new file mode 100644
index 0000000000..7470d87cea
--- /dev/null
+++ b/py-resampy/DESCR
@@ -0,0 +1,4 @@
+Efficient sample rate conversion in Python.
+
+This package implements the band-limited sinc interpolation method
+for sampling rate conversion as described by Julius O. Smith.
diff --git a/py-resampy/Makefile b/py-resampy/Makefile
new file mode 100644
index 0000000000..28e27be288
--- /dev/null
+++ b/py-resampy/Makefile
@@ -0,0 +1,23 @@
+# $NetBSD: Makefile,v 1.13 2022/01/04 20:52:34 wiz Exp $
+
+DISTNAME= resampy-0.2.2
+PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES= audio python
+MASTER_SITES= ${MASTER_SITE_PYPI:=r/resampy/}
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= https://github.com/bmcfee/resampy
+COMMENT= Efficient sample rate conversion in Python
+LICENSE= isc
+
+DEPENDS+= ${PYPKGPREFIX}-numba-[0-9]*:../../math/py-numba
+DEPENDS+= ${PYPKGPREFIX}-scipy-[0-9]*:../../math/py-scipy
+DEPENDS+= ${PYPKGPREFIX}-six-[0-9]*:../../lang/py-six
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-cov-[0-9]*:../../devel/py-test-cov
+
+do-test:
+ cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX}
+
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/py-resampy/PLIST b/py-resampy/PLIST
new file mode 100644
index 0000000000..58b2fe774d
--- /dev/null
+++ b/py-resampy/PLIST
@@ -0,0 +1,23 @@
+@comment $NetBSD$
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/requires.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/resampy/__init__.py
+${PYSITELIB}/resampy/__init__.pyc
+${PYSITELIB}/resampy/__init__.pyo
+${PYSITELIB}/resampy/core.py
+${PYSITELIB}/resampy/core.pyc
+${PYSITELIB}/resampy/core.pyo
+${PYSITELIB}/resampy/data/kaiser_best.npz
+${PYSITELIB}/resampy/data/kaiser_fast.npz
+${PYSITELIB}/resampy/filters.py
+${PYSITELIB}/resampy/filters.pyc
+${PYSITELIB}/resampy/filters.pyo
+${PYSITELIB}/resampy/interpn.py
+${PYSITELIB}/resampy/interpn.pyc
+${PYSITELIB}/resampy/interpn.pyo
+${PYSITELIB}/resampy/version.py
+${PYSITELIB}/resampy/version.pyc
+${PYSITELIB}/resampy/version.pyo
diff --git a/py-resampy/TODO b/py-resampy/TODO
new file mode 100644
index 0000000000..11bb2cd715
--- /dev/null
+++ b/py-resampy/TODO
@@ -0,0 +1 @@
+Finished, but tests only test coverage, so not sure if it works.
diff --git a/py-resampy/distinfo b/py-resampy/distinfo
new file mode 100644
index 0000000000..cda8f0b81d
--- /dev/null
+++ b/py-resampy/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.8 2021/10/26 09:59:25 nia Exp $
+
+BLAKE2s (resampy-0.2.2.tar.gz) = 2c3c4975301f9b098b6ba866440e33405f23771d5233c32b5051b160b07ec9f3
+SHA512 (resampy-0.2.2.tar.gz) = 779aee8a41e478f90c43f672872f8ce5c81f372b70318d0b0236eed6816abebf006f920e732e4263d43ecd900bcdb16cf7cb71fdb7f4094cc8fbcae53f2271dd
+Size (resampy-0.2.2.tar.gz) = 323380 bytes
diff --git a/subsync/DESCR b/subsync/DESCR
new file mode 100644
index 0000000000..2f3a1dda3c
--- /dev/null
+++ b/subsync/DESCR
@@ -0,0 +1,6 @@
+This is an automatic movie subtitle synchronization tool.
+
+Synchronization is done by listening to the audio track. Tracks
+could be of different languages, it will be translated if necessary.
+Synchronization with another subtitles is also supported. You don't
+have to adjust subtitles manually anymore!
diff --git a/subsync/Makefile b/subsync/Makefile
new file mode 100644
index 0000000000..c359d1624b
--- /dev/null
+++ b/subsync/Makefile
@@ -0,0 +1,22 @@
+# $NetBSD: Makefile,v 1.2 2022/01/04 20:53:39 wiz Exp $
+
+DISTNAME= subsync-0.1.5
+PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES= devel python
+MASTER_SITES= ${MASTER_SITE_PYPI:=s/subsync/}
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= https://github.com/tympanix/subsync
+COMMENT= Synchronize your subtitles with machine learning
+LICENSE= mit
+
+DEPENDS+= ${PYPKGPREFIX}-h5py-[0-9]*:../../devel/py-h5py
+DEPENDS+= ${PYPKGPREFIX}-librosa-[0-9]*:../../wip/py-librosa
+DEPENDS+= ${PYPKGPREFIX}-matplotlib-[0-9]*:../../graphics/py-matplotlib
+DEPENDS+= ${PYPKGPREFIX}-pysrt-[0-9]*:../../textproc/py-pysrt
+
+REPLACE_PYTHON+= subsync/bin/subsync
+
+.include "../../lang/python/egg.mk"
+.include "../../lang/python/application.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/subsync/PLIST b/subsync/PLIST
new file mode 100644
index 0000000000..34c4c7e6f5
--- /dev/null
+++ b/subsync/PLIST
@@ -0,0 +1,34 @@
+@comment $NetBSD$
+bin/subsync
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/not-zip-safe
+${PYSITELIB}/${EGG_INFODIR}/requires.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/subsync/__init__.py
+${PYSITELIB}/subsync/__init__.pyc
+${PYSITELIB}/subsync/__init__.pyo
+${PYSITELIB}/subsync/__main__.py
+${PYSITELIB}/subsync/__main__.pyc
+${PYSITELIB}/subsync/__main__.pyo
+${PYSITELIB}/subsync/bin/subsync
+${PYSITELIB}/subsync/ffmpeg.py
+${PYSITELIB}/subsync/ffmpeg.pyc
+${PYSITELIB}/subsync/ffmpeg.pyo
+${PYSITELIB}/subsync/log.py
+${PYSITELIB}/subsync/log.pyc
+${PYSITELIB}/subsync/log.pyo
+${PYSITELIB}/subsync/main.py
+${PYSITELIB}/subsync/main.pyc
+${PYSITELIB}/subsync/main.pyo
+${PYSITELIB}/subsync/media.py
+${PYSITELIB}/subsync/media.pyc
+${PYSITELIB}/subsync/media.pyo
+${PYSITELIB}/subsync/net.py
+${PYSITELIB}/subsync/net.pyc
+${PYSITELIB}/subsync/net.pyo
+${PYSITELIB}/subsync/subsync.pb
+${PYSITELIB}/subsync/version.py
+${PYSITELIB}/subsync/version.pyc
+${PYSITELIB}/subsync/version.pyo
diff --git a/subsync/TODO b/subsync/TODO
new file mode 100644
index 0000000000..a27e90f7ac
--- /dev/null
+++ b/subsync/TODO
@@ -0,0 +1 @@
+Needs tensorflow package.
diff --git a/subsync/distinfo b/subsync/distinfo
new file mode 100644
index 0000000000..2a5faf989c
--- /dev/null
+++ b/subsync/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.4 2021/10/26 10:19:05 nia Exp $
+
+BLAKE2s (subsync-0.1.5.tar.gz) = 7ad5aa02b3e69e2f5efdbef4f8d545c7f07a6e353d61e313cc9c57103051185e
+SHA512 (subsync-0.1.5.tar.gz) = 0c83c718efdf59e615834213d2be67e165f425eaf570eabf20f3b1bf3ee8765b209af185f43580351a131d68ebf557cefe7a3246bbffce9b129471d42d48815a
+Size (subsync-0.1.5.tar.gz) = 43186 bytes
+SHA1 (patch-setup.py) = 9049f4b0b48f27d63ca580c09ec76904d5d5bf9e
diff --git a/subsync/patches/patch-setup.py b/subsync/patches/patch-setup.py
new file mode 100644
index 0000000000..86b59e9fe2
--- /dev/null
+++ b/subsync/patches/patch-setup.py
@@ -0,0 +1,15 @@
+$NetBSD$
+
+Do not be overly restrictive.
+
+--- setup.py.orig 2018-07-12 14:38:23.000000000 +0000
++++ setup.py
+@@ -25,7 +25,7 @@ setup(name='subsync',
+ 'numpy',
+ 'matplotlib',
+ 'librosa',
+- 'h5py==2.8.0rc1',
++ 'h5py',
+ 'pysrt',
+ ],
+ zip_safe=False)
Home |
Main Index |
Thread Index |
Old Index