summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorElisamuel Resto2007-10-30 19:02:41 -0400
committerElisamuel Resto2007-10-30 19:02:41 -0400
commit3495285de6dac17b6395c5addf333b9a0882404c (patch)
treede26e171bf23563ca255daefe557a7bbc7a959ad
parent38b3058a620031938766b66ce29c8342a6fb2ba8 (diff)
python-devel/hellanzb: new spell, python usenet file downloader
-rw-r--r--ChangeLog1
-rwxr-xr-xpython-devel/hellanzb/DEPENDS15
-rwxr-xr-xpython-devel/hellanzb/DETAILS17
-rw-r--r--python-devel/hellanzb/HISTORY8
-rwxr-xr-xpython-devel/hellanzb/INSTALL2
-rwxr-xr-xpython-devel/hellanzb/PRE_BUILD2
-rw-r--r--python-devel/hellanzb/hellanzb-0.13-datafiles.patch24
7 files changed, 69 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 22bfecbd09..6e0c6baed8 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,6 @@
2007-10-30 Elisamuel Resto <ryuji@mages.ath.cx>
* mail/alpine: new spell, lightweight terminal mail reader like pine
+ * python-devel/hellanzb: new spell, python usenet file downloader
2007-10-30 Treeve Jelbert <treeve@sourcemage.org>
* kde4/kdebase4-runtime: new spell
diff --git a/python-devel/hellanzb/DEPENDS b/python-devel/hellanzb/DEPENDS
new file mode 100755
index 0000000000..af1f98dc28
--- /dev/null
+++ b/python-devel/hellanzb/DEPENDS
@@ -0,0 +1,15 @@
+depends twisted &&
+depends par2cmdline &&
+depends unrar &&
+optional_depends flac \
+ "" \
+ "" \
+ "for flac audio files management" &&
+#optional_depends mac \
+# "" \
+# "" \
+# "for monkey audio file management" &&
+optional_depends libnotify \
+ "" \
+ "" \
+ "for libnotfy support"
diff --git a/python-devel/hellanzb/DETAILS b/python-devel/hellanzb/DETAILS
new file mode 100755
index 0000000000..726b003bbc
--- /dev/null
+++ b/python-devel/hellanzb/DETAILS
@@ -0,0 +1,17 @@
+ SPELL=hellanzb
+ VERSION=0.13
+ SOURCE="${SPELL}-${VERSION}.tar.gz"
+ SOURCE_URL[0]=http://www.hellanzb.com/distfiles/${SOURCE}
+ SOURCE_HASH=sha512:74f35f4f6e9dfae940952580854da782c3c3d057f375fcdf193c0584c8a79e4cb290a83f7fbdc99e6aeeec74b5d32f6c8535585f9f3caeb76eade8af6f15f6cd
+SOURCE_DIRECTORY="${BUILD_DIRECTORY}/${SPELL}-${VERSION}"
+ WEB_SITE="http://www.hellanzb.com/"
+ LICENSE[0]=BSD
+ ENTERED=20071006
+ SHORT="hellanzb is a Python application designed for *nix environments that retrieves nzb files and fully processes them."
+cat << EOF
+hellanzb is a Python application designed for *nix environments that retrieves
+nzb files and fully processes them. The goal being to make getting files
+from Usenet (e.g.: Giganews Newsgroups) as hands-free as possible. Once fully
+installed, all thats required is moving an nzb file to the queue directory. The
+rest; fetching, par-checking, un-raring, etc. is taken care of by hellanzb.
+EOF
diff --git a/python-devel/hellanzb/HISTORY b/python-devel/hellanzb/HISTORY
new file mode 100644
index 0000000000..99dbe28df1
--- /dev/null
+++ b/python-devel/hellanzb/HISTORY
@@ -0,0 +1,8 @@
+2007-10-25 Elisamuel Resto <ryuji@mages.ath.cx>
+ * INSTALL: created, install the sample config file
+
+2007-10-24 Elisamuel Resto <ryuji@mages.ath.cx>
+ * PRE_BUILD, hellanzb-0.13-datafiles.patch: Remove insalling of config and docs into non-fhs location
+
+2007-10-06 Elisamuel Resto <ryuji@mages.ath.cx>
+ * DETAILS, DEPENDS, HISTORY: created spell
diff --git a/python-devel/hellanzb/INSTALL b/python-devel/hellanzb/INSTALL
new file mode 100755
index 0000000000..931086691c
--- /dev/null
+++ b/python-devel/hellanzb/INSTALL
@@ -0,0 +1,2 @@
+default_install &&
+install_config_file etc/hellanzb.conf.sample $INSTALL_ROOT/etc/hellanzb.conf
diff --git a/python-devel/hellanzb/PRE_BUILD b/python-devel/hellanzb/PRE_BUILD
new file mode 100755
index 0000000000..a4473ff1e2
--- /dev/null
+++ b/python-devel/hellanzb/PRE_BUILD
@@ -0,0 +1,2 @@
+default_pre_build &&
+patch -p1 < $SPELL_DIRECTORY/$SPELL-$VERSION-datafiles.patch
diff --git a/python-devel/hellanzb/hellanzb-0.13-datafiles.patch b/python-devel/hellanzb/hellanzb-0.13-datafiles.patch
new file mode 100644
index 0000000000..78e1171515
--- /dev/null
+++ b/python-devel/hellanzb/hellanzb-0.13-datafiles.patch
@@ -0,0 +1,24 @@
+diff -Naur hellanzb-0.13/Hellanzb/Core.py hellanzb-0.13/Hellanzb/Core.py
+--- hellanzb-0.13/Hellanzb/Core.py 2007-03-27 00:20:43.000000000 -0400
++++ hellanzb-0.13/Hellanzb/Core.py 2007-10-25 10:04:38.831982064 -0400
+@@ -39,6 +39,7 @@
+ try:
+ confDirs.append(os.path.join(os.getcwd(), 'etc'))
+ confDirs.append(os.getcwd())
++ confDirs.append('/etc')
+ except OSError, ose:
+ if ose.errno != 2:
+ raise
+diff -Naur ./hellanzb-0.13/setup.py ./hellanzb-0.13/setup.py
+--- hellanzb-0.13/setup.py 2007-03-27 00:20:43.000000000 -0400
++++ hellanzb-0.13/setup.py 2007-10-25 10:02:28.970175892 -0400
+@@ -38,8 +38,7 @@
+ packages = [ 'Hellanzb', 'Hellanzb.NZBLeecher', 'Hellanzb.HellaXMLRPC',
+ 'Hellanzb.external', 'Hellanzb.external.elementtree' ],
+ scripts = [ 'hellanzb.py' ],
+- data_files = [ ( 'etc', [ 'etc/hellanzb.conf.sample' ] ),
+- ( 'share/doc/hellanzb', [ 'CHANGELOG', 'CREDITS', 'README', 'LICENSE' ] ) ],
++ data_files = [ ( 'share/doc/hellanzb', [ 'CHANGELOG', 'CREDITS', 'README', 'LICENSE' ] ) ],
+ )
+ py2app_options = dict(
+ app = [ 'hellanzb.py' ],