[151304] trunk/dports/python/py-tweepy/Portfile
devans at macports.org
devans at macports.org
Fri Aug 12 09:01:48 PDT 2016
Revision: 151304
https://trac.macports.org/changeset/151304
Author: devans at macports.org
Date: 2016-08-12 09:01:48 -0700 (Fri, 12 Aug 2016)
Log Message:
-----------
py-tweepy: update to version 3.5.0 using github, dependencies, add py34 py35 subports, general cleanup (#52007).
Modified Paths:
--------------
trunk/dports/python/py-tweepy/Portfile
Modified: trunk/dports/python/py-tweepy/Portfile
===================================================================
--- trunk/dports/python/py-tweepy/Portfile 2016-08-12 15:57:42 UTC (rev 151303)
+++ trunk/dports/python/py-tweepy/Portfile 2016-08-12 16:01:48 UTC (rev 151304)
@@ -2,39 +2,36 @@
# $Id$
PortSystem 1.0
+PortGroup github 1.0
PortGroup python 1.0
-set _name tweepy
-set _n [string index ${_name} 0]
-
-name py-${_name}
-version 1.12
+github.setup tweepy tweepy 3.5.0 v
+name py-${name}
categories-append devel net
platforms darwin
supported_archs noarch
license MIT
maintainers nomaintainer
-description A python library for the Twitter API.
-long_description \
- ${description} OAuth, complete coverage, streaming API
+description A Python library for the Twitter API.
+long_description ${description}
homepage http://www.tweepy.org/
-master_sites pypi:${_n}/${_name}/
-distname ${_name}-${version}
-checksums md5 ff802f974e445ddc232a990324451179 \
- sha1 1a67c9742fa72c8fa72d27a6d831852b539b7cfa \
- rmd160 b834cc08a8abd1427407553271bc2b6ca588e687
+checksums rmd160 f846d121b6aa28ef9027403f1aac94ad97b6579a \
+ sha256 37eb7230f90a7ad2ac1cae198acc98941c5089bd16c4a12256009a7231edb333
-python.versions 27
+python.versions 27 34 35
if {${name} ne ${subport}} {
- depends_build port:py${python.version}-setuptools
+ depends_build-append \
+ port:py${python.version}-setuptools \
+ port:py${python.version}-pip
+ depends_lib-append \
+ port:py${python.version}-requests \
+ port:py${python.version}-requests-oauthlib \
+ port:py${python.version}-six
+
livecheck.type none
-} else {
- livecheck.type regex
- livecheck.url https://pypi.python.org/pypi/${_name}/json
- livecheck.regex "\"${_name}-(\[.\\d\]+)\\.tar\\.gz\""
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160812/50f9cb9d/attachment.html>
More information about the macports-changes
mailing list