svn commit: r388365 - in head: . devel devel/py-ScriptTest devel/py-scripttest devel/py-scripttest/files
Kubilay Kocak
koobs at FreeBSD.org
Tue Jun 2 15:25:46 UTC 2015
Author: koobs
Date: Tue Jun 2 15:25:43 2015
New Revision: 388365
URL: https://svnweb.freebsd.org/changeset/ports/388365
Log:
devel/py-scripttest: Rename, Update to 1.3.0
- Update to 1.3.0
- Chase upstream rename from ScriptTest to "scripttest"
- USE_GITHUB to get tests until sdist includes it [1]
- Add python to CATEGORIES
- Add TEST_DEPENDS and regression-test target
- Sort USE_PYTHON
- Patch tests to include skipIf reasons. Send upstream [2]
While MOVE'ing:
- Update MOVED
- Update devel/Makefile
- Fix date going backwards bug in MOVED [3]
[1] https://github.com/pypa/scripttest/issues/11
[2] https://github.com/pypa/scripttest/pull/12
[3] 7597: date going backwards from 2015-05-24 to 2015-05-23
Approved by: nivit (maintainer, via email)
Added:
head/devel/py-scripttest/
- copied from r388364, head/devel/py-ScriptTest/
head/devel/py-scripttest/files/
head/devel/py-scripttest/files/patch-tests_test__string.py (contents, props changed)
Deleted:
head/devel/py-ScriptTest/
Modified:
head/MOVED
head/devel/Makefile
head/devel/py-scripttest/Makefile
head/devel/py-scripttest/distinfo
Modified: head/MOVED
==============================================================================
--- head/MOVED Tue Jun 2 15:11:54 2015 (r388364)
+++ head/MOVED Tue Jun 2 15:25:43 2015 (r388365)
@@ -7580,6 +7580,8 @@ deskutils/msynctool||2015-05-09|Has expi
devel/ruby-flexmock|devel/rubygem-flexmock|2015-05-10|Rename to match our rubygems naming
lang/pypy-devel|lang/pypy|2015-05-17|Superseded by lang/pypy
databases/my2cego|databases/cegobridge|2015-05-19|Superseded by databases/cegobridge
+emulators/wine-compholio|emulators/wine-staging|2015-05-23|Renamed
+emulators/i386-wine-compholio|emulators/i386-wine-staging|2015-05-23|Renamed
devel/rubygem-bioruby|devel/rubygem-bio|2015-05-23|Rename to match our rubygems naming
www/rubygem-taggable|www/rubygem-acts_as_taggable|2015-05-23|Rename to match our rubygems naming
security/rubygem-meterpreter_bins|security/rubygem-metasploit-payloads|2015-05-23|Renamed upstream
@@ -7591,8 +7593,6 @@ science/rubygem-netcdf|science/rubygem-r
security/rubygem-rc4|security/rubygem-ruby-rc4|2015-05-24|Rename to match our rubygems naming
print/rubygem-colortools|print/rubygem-color-tools|2015-05-24|Rename to match our rubygems naming
security/qtkeychain|security/qtkeychain-qt5|2015-05-24|Renamed to indicate supported QT version
-emulators/wine-compholio|emulators/wine-staging|2015-05-23|Renamed
-emulators/i386-wine-compholio|emulators/i386-wine-staging|2015-05-23|Renamed
www/rubygem-layout-yullio|www/rubygem-layout_yullio_generator|2015-05-27|Rename to match our rubygems naming
net/rubygem-rightaws|net/rubygem-right_aws|2015-05-27|Rename to match our rubygems naming
net/rubygem-rightflexiscale|net/rubygem-right_flexiscale|2015-05-27|Rename to match our rubygems naming
@@ -7607,3 +7607,4 @@ net/rubygem-yadis|net/rubygem-ruby-yadis
ports-mgmt/porteasy||2015-06-01|Has expired: Does not support pkgng
textproc/hgrep||2015-06-01|Has expired: Not needed any more, base grep has coloring support
www/diamanda||2015-06-01|Has expired: Broken for more than 6 months
+devel/py-ScriptTest|devel/py-scripttest|2015-06-01|Renamed upstream
Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile Tue Jun 2 15:11:54 2015 (r388364)
+++ head/devel/Makefile Tue Jun 2 15:25:43 2015 (r388365)
@@ -3738,7 +3738,6 @@
SUBDIR += py-Products.validation
SUBDIR += py-RPyC
SUBDIR += py-Record
- SUBDIR += py-ScriptTest
SUBDIR += py-SymbolType
SUBDIR += py-TGScheduler
SUBDIR += py-ToscaWidgets
@@ -4091,6 +4090,7 @@
SUBDIR += py-rtree
SUBDIR += py-ruledispatch
SUBDIR += py-sanetime
+ SUBDIR += py-scripttest
SUBDIR += py-sdl2
SUBDIR += py-serpent
SUBDIR += py-setproctitle
Modified: head/devel/py-scripttest/Makefile
==============================================================================
--- head/devel/py-ScriptTest/Makefile Tue Jun 2 15:11:54 2015 (r388364)
+++ head/devel/py-scripttest/Makefile Tue Jun 2 15:25:43 2015 (r388365)
@@ -1,11 +1,9 @@
# Created by: Nicola Vitale <nivit at FreeBSD.org>
# $FreeBSD$
-PORTNAME= ScriptTest
-PORTVERSION= 1.2
-PORTREVISION= 1
-CATEGORIES= devel
-MASTER_SITES= CHEESESHOP
+PORTNAME= scripttest
+PORTVERSION= 1.3.0
+CATEGORIES= devel python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= nivit at FreeBSD.org
@@ -13,7 +11,15 @@ COMMENT= Helper to test command-line scr
LICENSE= MIT
+TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:${PORTSDIR}/devel/py-pytest
+
USES= python
-USE_PYTHON= distutils autoplist
+USE_PYTHON= autoplist distutils
+
+USE_GITHUB= yes
+GH_ACCOUNT= pypa
+
+regression-test: build
+ @cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test
.include <bsd.port.mk>
Modified: head/devel/py-scripttest/distinfo
==============================================================================
--- head/devel/py-ScriptTest/distinfo Tue Jun 2 15:11:54 2015 (r388364)
+++ head/devel/py-scripttest/distinfo Tue Jun 2 15:25:43 2015 (r388365)
@@ -1,2 +1,2 @@
-SHA256 (ScriptTest-1.2.tar.gz) = 158c34cfa736288c33177588572c2bb3372b836eb4c90b05222911b4ff976942
-SIZE (ScriptTest-1.2.tar.gz) = 7208
+SHA256 (pypa-scripttest-1.3.0_GH0.tar.gz) = 33c2c5315538598652cecc28984557d55dbe75ff814e50e4307dc8fbfac51cd5
+SIZE (pypa-scripttest-1.3.0_GH0.tar.gz) = 14885
Added: head/devel/py-scripttest/files/patch-tests_test__string.py
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/py-scripttest/files/patch-tests_test__string.py Tue Jun 2 15:25:43 2015 (r388365)
@@ -0,0 +1,13 @@
+--- tests/test_string.py.orig 2015-06-02 05:43:40 UTC
++++ tests/test_string.py
+@@ -22,8 +22,8 @@ else:
+ utf8_str = 'Björk Guðmundsdóttir [ˈpjœr̥k ˈkvʏðmʏntsˌtoʊhtɪr]'
+
+
+-py2only = pytest.mark.skipif("sys.version_info >= (3, 0)")
+-py3only = pytest.mark.skipif("sys.version_info < (3, 0)")
++py2only = pytest.mark.skipif("sys.version_info >= (3, 0)",reason="Python 2.x Only")
++py3only = pytest.mark.skipif("sys.version_info < (3, 0)",reason="Python 3.x Only")
+
+
+ #-----------------------------------------
More information about the svn-ports-all
mailing list