svn commit: r365731 - in head/www: . py-evernote py-evernote/files
Kubilay Kocak
koobs at FreeBSD.org
Sat Aug 23 13:50:43 UTC 2014
Author: koobs
Date: Sat Aug 23 13:50:41 2014
New Revision: 365731
URL: http://svnweb.freebsd.org/changeset/ports/365731
QAT: https://qat.redports.org/buildarchive/r365731/
Log:
[NEW] www/py-evernote: Evernote SDK for Python
This SDK contains wrapper code used to call the Evernote Cloud API from Python.
WWW: https://dev.evernote.com
Added:
head/www/py-evernote/
head/www/py-evernote/Makefile (contents, props changed)
head/www/py-evernote/distinfo (contents, props changed)
head/www/py-evernote/files/
head/www/py-evernote/files/patch-setup.py (contents, props changed)
head/www/py-evernote/pkg-descr (contents, props changed)
Modified:
head/www/Makefile
Modified: head/www/Makefile
==============================================================================
--- head/www/Makefile Sat Aug 23 13:42:35 2014 (r365730)
+++ head/www/Makefile Sat Aug 23 13:50:41 2014 (r365731)
@@ -1537,6 +1537,7 @@
SUBDIR += py-dojango
SUBDIR += py-dotcloud.cli
SUBDIR += py-dtflickr
+ SUBDIR += py-evernote
SUBDIR += py-falcon
SUBDIR += py-fcgi
SUBDIR += py-fedex
Added: head/www/py-evernote/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/www/py-evernote/Makefile Sat Aug 23 13:50:41 2014 (r365731)
@@ -0,0 +1,21 @@
+# Created by: Kubilay Kocak <koobs at FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= evernote
+PORTVERSION= 1.25.0
+CATEGORIES= www python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= koobs at FreeBSD.org
+COMMENT= Evernote SDK for Python
+
+LICENSE= BSD2CLAUSE
+
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}oauth2>0:${PORTSDIR}/net/py-oauth2 \
+ ${PYTHON_PKGNAMEPREFIX}thrift>0:${PORTSDIR}/devel/py-thrift
+
+USES= python:-2.7
+USE_PYTHON= autoplist distutils
+
+.include <bsd.port.mk>
Added: head/www/py-evernote/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/www/py-evernote/distinfo Sat Aug 23 13:50:41 2014 (r365731)
@@ -0,0 +1,2 @@
+SHA256 (evernote-1.25.0.tar.gz) = 4d801dde4c300931996f4b93ba4a41ab280048a80a7e598800a38c789d7994d3
+SIZE (evernote-1.25.0.tar.gz) = 140770
Added: head/www/py-evernote/files/patch-setup.py
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/www/py-evernote/files/patch-setup.py Sat Aug 23 13:50:41 2014 (r365731)
@@ -0,0 +1,20 @@
+# Unbundle thrift and add it to requirements
+# TODO: Upstream
+--- ./setup.py.orig 2013-06-13 05:14:17.000000000 +1000
++++ ./setup.py 2014-07-24 20:19:10.032661190 +1000
+@@ -18,7 +18,7 @@
+ url='http://dev.evernote.com',
+ description='Evernote SDK for Python',
+ long_description=read('README.md'),
+- packages=find_packages('lib'),
++ packages=find_packages('lib',exclude=["*.thrift", "*,thrift.*", "thrift.*", "thrift"]),
+ package_dir={'': 'lib'},
+ classifiers=[
+ 'Development Status :: 5 - Production/Stable',
+@@ -29,5 +29,6 @@
+ license='BSD',
+ install_requires=[
+ 'oauth2',
++ 'thrift',
+ ],
+ )
Added: head/www/py-evernote/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/www/py-evernote/pkg-descr Sat Aug 23 13:50:41 2014 (r365731)
@@ -0,0 +1,3 @@
+This SDK contains wrapper code used to call the Evernote Cloud API from Python.
+
+WWW: https://dev.evernote.com
More information about the svn-ports-head
mailing list