summaryrefslogtreecommitdiff
path: root/net/coursera-dl
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2016-12-15 23:41:31 +0000
committerjoerg <joerg@pkgsrc.org>2016-12-15 23:41:31 +0000
commit908830bf76d0e2b575f29f3b0b663e05318cbfa3 (patch)
tree979e2fa872a791ac2ef6c5f8d978d15ea92b1ae7 /net/coursera-dl
parentfa94bcfcef9b86a2898a5ec47a41be2975e1ba42 (diff)
downloadpkgsrc-908830bf76d0e2b575f29f3b0b663e05318cbfa3.tar.gz
Add coursera-dl-0.8.0:
Coursera provides a variety of massive open online courses (MOOC) covering many different topics. This script makes it easier to batch download lecture resources (e.g., videos, ppt, etc) for Coursera classes. Given one or more class names and account credentials, it obtains week and class names from the lectures page, and then downloads the related materials into appropriately named files and directories.
Diffstat (limited to 'net/coursera-dl')
-rw-r--r--net/coursera-dl/DESCR6
-rw-r--r--net/coursera-dl/Makefile23
-rw-r--r--net/coursera-dl/PLIST56
-rw-r--r--net/coursera-dl/distinfo6
4 files changed, 91 insertions, 0 deletions
diff --git a/net/coursera-dl/DESCR b/net/coursera-dl/DESCR
new file mode 100644
index 00000000000..f72288272c4
--- /dev/null
+++ b/net/coursera-dl/DESCR
@@ -0,0 +1,6 @@
+Coursera provides a variety of massive open online courses (MOOC)
+covering many different topics. This script makes it easier to batch
+download lecture resources (e.g., videos, ppt, etc) for Coursera classes.
+Given one or more class names and account credentials, it obtains week
+and class names from the lectures page, and then downloads the related
+materials into appropriately named files and directories.
diff --git a/net/coursera-dl/Makefile b/net/coursera-dl/Makefile
new file mode 100644
index 00000000000..464196b154d
--- /dev/null
+++ b/net/coursera-dl/Makefile
@@ -0,0 +1,23 @@
+# $NetBSD: Makefile,v 1.1 2016/12/15 23:41:31 joerg Exp $
+
+DISTNAME= coursera-dl-0.8.0
+MASTER_SITES= ${MASTER_SITE_GITHUB:=coursera-dl/}
+GITHUB_TAG= 0.8.0
+CATEGORIES= net
+
+MAINTAINER= joerg@NetBSD.org
+HOMEPAGE= https://github.com/coursera-dl/coursera-dl
+COMMENT= Download course ressources for Coursera classes
+LICENSE= gnu-lgpl-v3
+
+USE_LANGUAGES= # none
+
+DEPENDS+= ${PYPKGPREFIX}-beautifulsoup4>=4.1.3:../../www/py-beautifulsoup4
+DEPENDS+= ${PYPKGPREFIX}-requests>=2.10.0:../../devel/py-requests
+DEPENDS+= ${PYPKGPREFIX}-six>=1.5.0:../../lang/py-six
+DEPENDS+= ${PYPKGPREFIX}-urllib3>=1.10:../../www/py-urllib3
+DEPENDS+= ${PYPKGPREFIX}-asn1>=0.1.7:../../security/py-asn1
+DEPENDS+= ${PYPKGPREFIX}-keyring>=4.0:../../security/py-keyring
+
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/net/coursera-dl/PLIST b/net/coursera-dl/PLIST
new file mode 100644
index 00000000000..d859b1478c5
--- /dev/null
+++ b/net/coursera-dl/PLIST
@@ -0,0 +1,56 @@
+@comment $NetBSD: PLIST,v 1.1 2016/12/15 23:41:31 joerg Exp $
+bin/coursera-dl
+${PYSITELIB}/coursera/__init__.py
+${PYSITELIB}/coursera/__init__.pyc
+${PYSITELIB}/coursera/__init__.pyo
+${PYSITELIB}/coursera/api.py
+${PYSITELIB}/coursera/api.pyc
+${PYSITELIB}/coursera/api.pyo
+${PYSITELIB}/coursera/commandline.py
+${PYSITELIB}/coursera/commandline.pyc
+${PYSITELIB}/coursera/commandline.pyo
+${PYSITELIB}/coursera/cookies.py
+${PYSITELIB}/coursera/cookies.pyc
+${PYSITELIB}/coursera/cookies.pyo
+${PYSITELIB}/coursera/coursera_dl.py
+${PYSITELIB}/coursera/coursera_dl.pyc
+${PYSITELIB}/coursera/coursera_dl.pyo
+${PYSITELIB}/coursera/credentials.py
+${PYSITELIB}/coursera/credentials.pyc
+${PYSITELIB}/coursera/credentials.pyo
+${PYSITELIB}/coursera/define.py
+${PYSITELIB}/coursera/define.pyc
+${PYSITELIB}/coursera/define.pyo
+${PYSITELIB}/coursera/downloaders.py
+${PYSITELIB}/coursera/downloaders.pyc
+${PYSITELIB}/coursera/downloaders.pyo
+${PYSITELIB}/coursera/extractors.py
+${PYSITELIB}/coursera/extractors.pyc
+${PYSITELIB}/coursera/extractors.pyo
+${PYSITELIB}/coursera/filtering.py
+${PYSITELIB}/coursera/filtering.pyc
+${PYSITELIB}/coursera/filtering.pyo
+${PYSITELIB}/coursera/formatting.py
+${PYSITELIB}/coursera/formatting.pyc
+${PYSITELIB}/coursera/formatting.pyo
+${PYSITELIB}/coursera/network.py
+${PYSITELIB}/coursera/network.pyc
+${PYSITELIB}/coursera/network.pyo
+${PYSITELIB}/coursera/parallel.py
+${PYSITELIB}/coursera/parallel.pyc
+${PYSITELIB}/coursera/parallel.pyo
+${PYSITELIB}/coursera/playlist.py
+${PYSITELIB}/coursera/playlist.pyc
+${PYSITELIB}/coursera/playlist.pyo
+${PYSITELIB}/coursera/utils.py
+${PYSITELIB}/coursera/utils.pyc
+${PYSITELIB}/coursera/utils.pyo
+${PYSITELIB}/coursera/workflow.py
+${PYSITELIB}/coursera/workflow.pyc
+${PYSITELIB}/coursera/workflow.pyo
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/entry_points.txt
+${PYSITELIB}/${EGG_INFODIR}/requires.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
diff --git a/net/coursera-dl/distinfo b/net/coursera-dl/distinfo
new file mode 100644
index 00000000000..5bc67e8e7d9
--- /dev/null
+++ b/net/coursera-dl/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2016/12/15 23:41:31 joerg Exp $
+
+SHA1 (coursera-dl-0.8.0.tar.gz) = df23d9add320983549dd5ebacb37f50285e72ae2
+RMD160 (coursera-dl-0.8.0.tar.gz) = f7ff3b388d0325cc06e311bdb78f341a91927aa0
+SHA512 (coursera-dl-0.8.0.tar.gz) = a88add229f69f810abc9a156878a57f891378ecd49572c7f5eb0df24250b214daf85fae4c47eac9c13aac23f2dcd92e99f7ef57e916efa5cf59187fc71a324da
+Size (coursera-dl-0.8.0.tar.gz) = 222829 bytes