From owner-svn-ports-all@freebsd.org Fri Oct 26 04:20:04 2018 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 65F9410D5841; Fri, 26 Oct 2018 04:20:04 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 1B0FF82D99; Fri, 26 Oct 2018 04:20:04 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id D62F71BD41; Fri, 26 Oct 2018 04:20:03 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w9Q4K3Xi072687; Fri, 26 Oct 2018 04:20:03 GMT (envelope-from yuri@FreeBSD.org) Received: (from yuri@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w9Q4K3jR072683; Fri, 26 Oct 2018 04:20:03 GMT (envelope-from yuri@FreeBSD.org) Message-Id: <201810260420.w9Q4K3jR072683@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: yuri set sender to yuri@FreeBSD.org using -f From: Yuri Victorovich Date: Fri, 26 Oct 2018 04:20:03 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r483005 - in head/devel: . py-serializable X-SVN-Group: ports-head X-SVN-Commit-Author: yuri X-SVN-Commit-Paths: in head/devel: . py-serializable X-SVN-Commit-Revision: 483005 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Oct 2018 04:20:04 -0000 Author: yuri Date: Fri Oct 26 04:20:02 2018 New Revision: 483005 URL: https://svnweb.freebsd.org/changeset/ports/483005 Log: New port: devel/py-serializable: Base class with serialization helpers for user-defined Python objects Added: head/devel/py-serializable/ head/devel/py-serializable/Makefile (contents, props changed) head/devel/py-serializable/distinfo (contents, props changed) head/devel/py-serializable/pkg-descr (contents, props changed) Modified: head/devel/Makefile Modified: head/devel/Makefile ============================================================================== --- head/devel/Makefile Fri Oct 26 04:15:41 2018 (r483004) +++ head/devel/Makefile Fri Oct 26 04:20:02 2018 (r483005) @@ -5077,6 +5077,7 @@ SUBDIR += py-selectors2 SUBDIR += py-selectors34 SUBDIR += py-semantic_version + SUBDIR += py-serializable SUBDIR += py-serpent SUBDIR += py-setproctitle SUBDIR += py-setuptools Added: head/devel/py-serializable/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/py-serializable/Makefile Fri Oct 26 04:20:02 2018 (r483005) @@ -0,0 +1,23 @@ +# $FreeBSD$ + +PORTNAME= serializable +DISTVERSION= 0.1.1 +CATEGORIES= devel python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Base class with serialization helpers for user-defined Python objects + +LICENSE= APACHE20 + +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}simplejson>0:devel/py-simplejson@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}six>=1.9.0:devel/py-six@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}typechecks>=0.0.2:devel/py-typechecks@${PY_FLAVOR} + +USES= python +USE_PYTHON= distutils autoplist + +NO_ARCH= yes + +.include Added: head/devel/py-serializable/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/py-serializable/distinfo Fri Oct 26 04:20:02 2018 (r483005) @@ -0,0 +1,3 @@ +TIMESTAMP = 1540526544 +SHA256 (serializable-0.1.1.tar.gz) = 87f9fadbd0fba5c7951858d16ae9109afa4c96fd486e663419f3051f352a22d9 +SIZE (serializable-0.1.1.tar.gz) = 7572 Added: head/devel/py-serializable/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/py-serializable/pkg-descr Fri Oct 26 04:20:02 2018 (r483005) @@ -0,0 +1,10 @@ +Base class with serialization methods for user-defined Python objects. + +Classes which inherit from Serializable are enabled with default implementations +of to_json, from_json, __reduce__ (for pickling), and other serialization +helpers. A derived class must either have a member data matching the name of +each argument to __init__ or, alternatively, must provide a user-defined +to_dict() method which returns a dictionary whose keys match the arguments to +__init__. + +WWW: https://pypi.org/project/serializable/