Index: head/devel/py-phpserialize/files/setup.py =================================================================== --- head/devel/py-phpserialize/files/setup.py (revision 427353) +++ head/devel/py-phpserialize/files/setup.py (nonexistent) @@ -1,7 +0,0 @@ -from distutils.core import setup - -setup( - name = 'PHPSerialize', - version = "%%PORTVERSION%%", - py_modules = ['PHPSerialize', 'PHPUnserialize'], - ) Property changes on: head/devel/py-phpserialize/files/setup.py ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: head/devel/py-phpserialize/Makefile =================================================================== --- head/devel/py-phpserialize/Makefile (revision 427353) +++ head/devel/py-phpserialize/Makefile (revision 427354) @@ -1,25 +1,19 @@ # Created by: Jui-Nan Lin # $FreeBSD$ PORTNAME= phpserialize -PORTVERSION= 0.4 -PORTREVISION= 2 -CATEGORIES= devel lang www python -MASTER_SITES= http://www.hurring.com/scott/code/python/serialize/ +PORTVERSION= 1.3 +CATEGORIES= devel python +MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} -DISTNAME= PHPSerialize_v${PORTVERSION} -EXTRACT_SUFX= .tgz +LICENSE= BSD3CLAUSE + MAINTAINER= jnlin@freebsd.cs.nctu.edu.tw -COMMENT= Python implementation of PHP's native serialize() and unserialize() +COMMENT= Port of the serialize and unserialize functions of PHP to Python -WRKSRC= ${WRKDIR}/v${PORTVERSION} - -USES= python -USE_PYTHON= distutils autoplist - -post-extract: - ${SED} -e 's|%%PORTVERSION%%|${PORTVERSION}|g' ${FILESDIR}/setup.py \ - > ${WRKSRC}/setup.py +NO_ARCH= yes +USES= python:2.7+ +USE_PYTHON= autoplist distutils .include Index: head/devel/py-phpserialize/distinfo =================================================================== --- head/devel/py-phpserialize/distinfo (revision 427353) +++ head/devel/py-phpserialize/distinfo (revision 427354) @@ -1,2 +1,3 @@ -SHA256 (PHPSerialize_v0.4.tgz) = 75f12f281f239210f24d6db74ebde41b913d987c325046743e52f04bfae907fa -SIZE (PHPSerialize_v0.4.tgz) = 9079 +TIMESTAMP = 1478551844 +SHA256 (phpserialize-1.3.tar.gz) = bf672d312d203d09a84c26366fab8f438a3ffb355c407e69974b7ef2d39a0fa7 +SIZE (phpserialize-1.3.tar.gz) = 7466 Index: head/devel/py-phpserialize/pkg-descr =================================================================== --- head/devel/py-phpserialize/pkg-descr (revision 427353) +++ head/devel/py-phpserialize/pkg-descr (revision 427354) @@ -1,4 +1,5 @@ -This is a python implementation of PHP's native serialize() and -unserialize() functions. +A port of the serialize() and unserialize() functions of PHP to Python. This +module implements the python serialization interface (eg: provides dumps, +loads and similar functions). WWW: http://www.hurring.com/scott/code/python/serialize/