Skip to contentSkip to conversation

python-id3: new package

PATCH New Dominik Faessler 2 participants 3 messages May 14, 2012

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 python-id3: new package

---
 package/Config.in                |    1 +
 package/python-id3/Config.in     |    9 +++++++++
 package/python-id3/python-id3.mk |   21 +++++++++++++++++++++
 3 files changed, 31 insertions(+), 0 deletions(-)
 create mode 100644 package/python-id3/Config.in
 create mode 100644 package/python-id3/python-id3.mk
package/Config.in +1 -0
index fb1b08f..a89e646 100644
@@ -255,6 +255,7 @@ source "package/python/Config.in"
 if BR2_PACKAGE_PYTHON
 menu "external python modules"
 source "package/python-dpkt/Config.in"
+source "package/python-id3/Config.in"
 source "package/python-mad/Config.in"
 source "package/python-netifaces/Config.in"
 source "package/python-pygame/Config.in"
package/python-id3/Config.in new file +9 -0
new file mode 100644
index 0000000..6ddfd54
@@ -0,0 +1,9 @@
+config BR2_PACKAGE_PYTHON_ID3
+    bool "python-id3"
+    depends on BR2_PACKAGE_PYTHON
+    help
+      This module allows one to read and manipulate so-called ID3
+      informational tags on MP3 files through an object-oriented
+      Python interface.
+
+      http://id3-py.sourceforge.net/
(quoted diff) +0 -0

b/package/python-id3/python-id3.mk
new file mode 100644
index 0000000..907dc63

package/python-id3/python-id3.mk new file +9 -0
@@ -0,0 +1,21 @@
+#############################################################
+#
+# python-id3
+#
+#############################################################
+
+PYTHON_ID3_VERSION = 1.2
+PYTHON_ID3_SOURCE = id3-py_$(PYTHON_ID3_VERSION).tar.gz
+PYTHON_ID3_SITE =

http://$(BR2_SOURCEFORGE_MIRROR).dl.sourceforge.net/sourceforge/id3-py
+
+PYTHON_ID3_DEPENDENCIES = python
+
+define PYTHON_ID3_BUILD_CMDS
+ (cd $(@D); $(HOST_DIR)/usr/bin/python setup.py build)
+endef
+
+define PYTHON_ID3_INSTALL_TARGET_CMDS
+ (cd $(@D); $(HOST_DIR)/usr/bin/python setup.py install
--prefix=$(TARGET_DIR)/usr)
+endef
+
+$(eval $(call GENTARGETS))

Signature · 1 line
1.7.2.5
#1 lore raw

PATCH 1/1 python-id3: new package

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Dominik" == Dominik Faessler <[email protected]> writes:

 Dominik>  package/python-id3/Config.in     |    9 +++++++++
 Dominik>  package/python-id3/python-id3.mk |   21 +++++++++++++++++++++

Committed to next, thanks.

Signature · 1 line
Bye, Peter Korsgaard
#2 lore raw

PATCH 1/1 python-id3: new package

In reply to Dominik Faessler
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Dominik" == Dominik Faessler <[email protected]> writes:

Dominik> ---

Dominik> +PYTHON_ID3_VERSION = 1.2
Dominik> +PYTHON_ID3_SOURCE = id3-py_$(PYTHON_ID3_VERSION).tar.gz Dominik> +PYTHON_ID3_SITE =
Dominik> http://$(BR2_SOURCEFORGE_MIRROR).dl.sourceforge.net/sourceforge/id3-py
Dominik> +
Dominik> +PYTHON_ID3_DEPENDENCIES = python
Dominik> +
Dominik> +define PYTHON_ID3_BUILD_CMDS
Dominik> + (cd $(@D); $(HOST_DIR)/usr/bin/python setup.py build)
Dominik> +endef
Dominik> +
Dominik> +define PYTHON_ID3_INSTALL_TARGET_CMDS
Dominik> + (cd $(@D); $(HOST_DIR)/usr/bin/python setup.py install
Dominik> --prefix=$(TARGET_DIR)/usr)

Do notice that your mailer has wordwrapped the patch, so I had to fix it up manually. Consider using 'git send-email' in the future.

Signature · 1 line
Bye, Peter Korsgaard