[63904] trunk/dports/python
jameskyle at macports.org
jameskyle at macports.org
Wed Feb 17 15:33:01 PST 2010
Revision: 63904
http://trac.macports.org/changeset/63904
Author: jameskyle at macports.org
Date: 2010-02-17 15:32:57 -0800 (Wed, 17 Feb 2010)
Log Message:
-----------
Added port for the tvdb_api python library.
Added Paths:
-----------
trunk/dports/python/py26-tvdb/
trunk/dports/python/py26-tvdb/Portfile
Added: trunk/dports/python/py26-tvdb/Portfile
===================================================================
--- trunk/dports/python/py26-tvdb/Portfile (rev 0)
+++ trunk/dports/python/py26-tvdb/Portfile 2010-02-17 23:32:57 UTC (rev 63904)
@@ -0,0 +1,34 @@
+# -*- 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
+# $Id$
+
+PortSystem 1.0
+PortGroup python26 1.0
+
+name py26-tvdb
+version 1.4
+platforms darwin
+maintainers jameskyle
+description An easy to use API interface to TheTVDB.com
+
+homepage http://github.com/dbr/tvdb_api
+master_sites ${homepage}
+distname tvdb_api-${version}
+fetch.type git
+git.url git://github.com/dbr/tvdb_api.git
+git.branch 1.4
+
+
+build.cmd ${python.bin} setup_tvdb_api.py --no-user-cfg
+destroot.cmd ${python.bin} setup_tvdb_api.py --no-user-cfg
+depends_lib-append port:py26-setuptools
+
+post-build {
+ system "cd ${worksrcpath} && \
+ ${python.bin} setup_tvnamer.py --no-user-cfg build"
+}
+
+post-destroot {
+ ln -s ${python.pkgd}/tvnamer.py ${destroot}${prefix}/bin/tvnamer.py
+ system "chmod +x ${destroot}${python.pkgd}/tvnamer.py"
+
+}
\ No newline at end of file
Property changes on: trunk/dports/python/py26-tvdb/Portfile
___________________________________________________________________
Added: svn:keywords
+ Id
Added: svn:eol-style
+ native
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100217/0fb84008/attachment.html>
More information about the macports-changes
mailing list