1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-29 05:38:00 +00:00

[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
This commit is contained in:
Kubilay Kocak 2014-08-23 13:50:41 +00:00
parent 0469597f00
commit d2cddc450b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=365731
5 changed files with 47 additions and 0 deletions

View File

@ -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

21
www/py-evernote/Makefile Normal file
View File

@ -0,0 +1,21 @@
# Created by: Kubilay Kocak <koobs@FreeBSD.org>
# $FreeBSD$
PORTNAME= evernote
PORTVERSION= 1.25.0
CATEGORIES= www python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= koobs@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>

2
www/py-evernote/distinfo Normal file
View File

@ -0,0 +1,2 @@
SHA256 (evernote-1.25.0.tar.gz) = 4d801dde4c300931996f4b93ba4a41ab280048a80a7e598800a38c789d7994d3
SIZE (evernote-1.25.0.tar.gz) = 140770

View File

@ -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',
],
)

View File

@ -0,0 +1,3 @@
This SDK contains wrapper code used to call the Evernote Cloud API from Python.
WWW: https://dev.evernote.com