From 3aa1fec25f98143944b52d80a3896a2562c3e855 Mon Sep 17 00:00:00 2001 From: Yuri Victorovich Date: Fri, 24 Nov 2017 20:32:43 +0000 Subject: [PATCH] New port: multimedia/py-pretty_midi: Utility functions for handling MIDI data in a nice/intuitive way PR: 220752 Approved by: tcberner (mentor) Differential Revision: https://reviews.freebsd.org/D12998 --- multimedia/Makefile | 1 + multimedia/py-pretty_midi/Makefile | 22 ++++++++++++++++++++++ multimedia/py-pretty_midi/distinfo | 3 +++ multimedia/py-pretty_midi/pkg-descr | 4 ++++ 4 files changed, 30 insertions(+) create mode 100644 multimedia/py-pretty_midi/Makefile create mode 100644 multimedia/py-pretty_midi/distinfo create mode 100644 multimedia/py-pretty_midi/pkg-descr diff --git a/multimedia/Makefile b/multimedia/Makefile index a4faca0d7a1b..1bcd07f53e40 100644 --- a/multimedia/Makefile +++ b/multimedia/Makefile @@ -332,6 +332,7 @@ SUBDIR += py-moviepy SUBDIR += py-openlp SUBDIR += py-periscope + SUBDIR += py-pretty_midi SUBDIR += py-qt4-multimedia SUBDIR += py-qt4-phonon SUBDIR += py-qt5-multimedia diff --git a/multimedia/py-pretty_midi/Makefile b/multimedia/py-pretty_midi/Makefile new file mode 100644 index 000000000000..c450628fde0c --- /dev/null +++ b/multimedia/py-pretty_midi/Makefile @@ -0,0 +1,22 @@ +# $FreeBSD$ + +PORTNAME= pretty_midi +DISTVERSION= 0.2.8 +CATEGORIES= multimedia python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Utility functions for handling MIDI data in a nice/intuitive way + +LICENSE= MIT + +RUN_DEPENDS= ${PYNUMPY} \ + ${PYTHON_PKGNAMEPREFIX}mido>=1.1.16:multimedia/py-mido \ + ${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six + +USES= python +USE_PYTHON= autoplist distutils +NO_ARCH= yes + +.include diff --git a/multimedia/py-pretty_midi/distinfo b/multimedia/py-pretty_midi/distinfo new file mode 100644 index 000000000000..4607ee2e820d --- /dev/null +++ b/multimedia/py-pretty_midi/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1510117234 +SHA256 (pretty_midi-0.2.8.tar.gz) = 1246439dd74c31abbe2f7a3aef3d28620b1882ece635f0baf88e2c1b491f1432 +SIZE (pretty_midi-0.2.8.tar.gz) = 5588066 diff --git a/multimedia/py-pretty_midi/pkg-descr b/multimedia/py-pretty_midi/pkg-descr new file mode 100644 index 000000000000..f67441c32a09 --- /dev/null +++ b/multimedia/py-pretty_midi/pkg-descr @@ -0,0 +1,4 @@ +Functions and classes which make handling MIDI data easy in Python. +Provides methods for parsing, modifying, and analyzing MIDI files. + +WWW: https://github.com/craffel/pretty-midi