Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 29 Apr 2018 02:28:52 +0000 (UTC)
From:      Wen Heping <wen@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r468600 - in head/games/pysolfc: . files
Message-ID:  <201804290228.w3T2SqwE038856@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: wen
Date: Sun Apr 29 02:28:52 2018
New Revision: 468600
URL: https://svnweb.freebsd.org/changeset/ports/468600

Log:
  - Update to 2.2.0
  - Pass maintainership to submitter
  - Add all LICENSE
  
  PR:		227830
  Submitted by:	freebsd_ports@k-worx.org

Deleted:
  head/games/pysolfc/files/patch-pysollib__mfxutil.py
Modified:
  head/games/pysolfc/Makefile
  head/games/pysolfc/distinfo
  head/games/pysolfc/files/patch-data_pysolfc.glade

Modified: head/games/pysolfc/Makefile
==============================================================================
--- head/games/pysolfc/Makefile	Sun Apr 29 01:23:04 2018	(r468599)
+++ head/games/pysolfc/Makefile	Sun Apr 29 02:28:52 2018	(r468600)
@@ -1,44 +1,79 @@
 # $FreeBSD$
 
 PORTNAME=	pysolfc
-PORTVERSION=	2.0
-PORTREVISION=	7
+DISTVERSION=	2.2.0
 CATEGORIES=	games python
-MASTER_SITES=	SF/${PORTNAME}/PySolFC/PySolFC-${PORTVERSION} \
-		SF/${PORTNAME}/PySolFC-Cardsets/PySolFC-Cardsets-${PORTVERSION}:cardsets
-DISTFILES=	PySolFC-${DISTVERSION}${EXTRACT_SUFX}
+MASTER_SITES=	SF/${PORTNAME}/PySolFC/${PYSOLFCDIR} \
+		SF/${PORTNAME}/PySolFC-Cardsets/${CARDSETDIR}:cardsets
+DISTFILES=	${PYSOLFCDIST} \
+		${CARDSETDIST}:cardsets
 DIST_SUBDIR=	${PORTNAME}
 
-MAINTAINER=	ports@FreeBSD.org
+MAINTAINER=	freebsd_ports@k-worx.org
 COMMENT=	Solitaire game, written in Python and the successor of PySol
 
-LICENSE=	GPLv3+
-LICENSE_FILE=	${WRKSRC}/COPYING
+LICENSE=	GPLv2+ GPLv3+ MIT PCW PD UCP UCJ ULG
+LICENSE_COMB=	multi
 
-RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}tkinter>0:x11-toolkits/py-tkinter@${FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}pillow>0:graphics/py-pillow@${FLAVOR}
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pillow>0:graphics/py-pillow@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}random2>=0:math/py-random2@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}tkinter>0:x11-toolkits/py-tkinter@${PY_FLAVOR}
 
-USES=		python:2.7 shebangfix tar:bzip2
-USE_PYTHON=	autoplist distutils
+LICENSE_FILE_GPLv3+ =		${WRKSRC}/COPYING
+LICENSE_DISTFILES_GPLv3+ =	${PYSOLFCDIST}
+
+LICENSE_FILE_MIT=	${WRKDIR}/${CARDSETDIR}/cardset-spider/COPYRIGHT
+LICENSE_DISTFILES_MIT=	${CARDSETDIST}
+
+# This applies also to following cardsets:
+# - ${WRKDIR}/${CARDSETDIR}/cardset-rangoon-e/COPYRIGHT
+# - ${WRKDIR}/${CARDSETDIR}/cardset-rangoon-r/COPYRIGHT
+LICENSE_FILE_PCW=	${WRKDIR}/${CARDSETDIR}/cardset-rangoon-d/COPYRIGHT
+LICENSE_NAME_PCW=	Postcardware
+LICENSE_PERMS_PCW=	dist-mirror no-dist-sell pkg-mirror no-pkg-sell auto-accept
+LICENSE_DISTFILES_PCW=	${CARDSETDIST}
+
+LICENSE_FILE_PD=	${WRKDIR}/${CARDSETDIR}/cardset-tksol/COPYRIGHT
+LICENSE_DISTFILES_PD=	${CARDSETDIST}
+
+LICENSE_FILE_UCP=	${WRKDIR}/${CARDSETDIR}/cardset-patience/COPYRIGHT
+LICENSE_NAME_UCP=	Unknown Copyright / Cardset "Patience"
+LICENSE_PERMS_UCP=	no-dist-mirror no-dist-sell no-pkg-mirror no-pkg-sell auto-accept
+LICENSE_DISTFILES_UCP=	${CARDSETDIST}
+
+LICENSE_FILE_UCJ=	${WRKDIR}/${CARDSETDIR}/cardset-jacoby/COPYRIGHT
+LICENSE_NAME_UCJ=	Unknown Copyright / Cardset "Jacoby"
+LICENSE_PERMS_UCJ=	no-dist-mirror no-dist-sell no-pkg-mirror no-pkg-sell auto-accept
+LICENSE_DISTFILES_UCJ=	${CARDSETDIST}
+
+LICENSE_FILE_ULG=	${WRKDIR}/${CARDSETDIR}/cardset-greywyvern/COPYRIGHT
+LICENSE_NAME_ULG=	Unknown License / Cardset "Greywyvern"
+LICENSE_PERMS_ULG=	no-dist-mirror no-dist-sell no-pkg-mirror no-pkg-sell auto-accept
+LICENSE_DISTFILES_ULG=	${CARDSETDIST}
+
+# The rest of the cardsets are licensed with the GPLv+2
+LICENSE_FILE_GPLv2+ =		${WRKDIR}/${CARDSETDIR}/cardset-1567/COPYRIGHT
+LICENSE_DISTFILES_GPLv2+ =	${CARDSETDIST}
+
+USES=		python shebangfix tar:xz
+USE_PYTHON=	distutils noflavors autoplist
+SHEBANG_FILES=	data/themes/clearlooks/convert_imgs.sh
 NO_ARCH=	yes
-SHEBANG_FILES=	data/themes/clearlooks/create_imgs.py
 
 PLIST_FILES=	share/pixmaps/pysolfc.png
+PORTDOCS=	README.md
 DATADIR=	${PREFIX}/share/PySolFC
-WRKSRC=		${WRKDIR}/PySolFC-${PORTVERSION}
-PORTDOCS=	README
+WRKSRC=		${WRKDIR}/${PYSOLFCDIR}
 
-CARDSET_DUPS=	2000 crystal-mahjongg dashavatara-ganjifa dondorf \
-		gnome-mahjongg-1 hexadeck kintengu matrix mughal-ganjifa \
-		oxymoron standard tuxedo vienna-2k
-
-OPTIONS_DEFINE=	CARDSETS DOCS NLS
-CARDSETS_DESC=	Install additional cardsets
-
+OPTIONS_DEFINE=	DOCS NLS
 OPTIONS_SUB=	yes
+NLS_USES=	gettext
 
-CARDSETS_DISTFILES=	PySolFC-Cardsets-${DISTVERSION}${EXTRACT_SUFX}:cardsets
-NLS_USES=		gettext
+PYSOLFCDIR=	PySolFC-${DISTVERSION}
+PYSOLFCDIST=	${PYSOLFCDIR}${EXTRACT_SUFX}
+CARDSETDIR=	PySolFC-Cardsets-2.0
+CARDSETDIST=	${CARDSETDIR}.tar.bz2
 
 post-patch:
 	@${MV} ${WRKSRC}/pysol.py ${WRKSRC}/pysolfc
@@ -57,14 +92,9 @@ post-patch-NLS-off:
 post-install:
 	${LN} -s ${PREFIX}/share/icons/pysol01.png \
 		${STAGEDIR}${PREFIX}/share/pixmaps/${PORTNAME}.png
-
-post-install-CARDSETS-on:
-.for cdir in ${CARDSET_DUPS}
-	@${RM} -r ${WRKDIR}/PySolFC-Cardsets-${PORTVERSION}/cardset-${cdir}
-.endfor
-	@cd ${WRKDIR}/PySolFC-Cardsets-${PORTVERSION} && \
+	@cd ${WRKDIR}/${CARDSETDIR} && \
 		${COPYTREE_SHARE} \* ${STAGEDIR}${DATADIR}
-	@cd ${WRKDIR}/PySolFC-Cardsets-${PORTVERSION} && \
+	@cd ${WRKDIR}/${CARDSETDIR} && \
 		${FIND} . -type f | ${SED} -e 's|^./|${DATADIR_REL}/|' >> ${TMPPLIST}
 
 post-install-DOCS-on:

Modified: head/games/pysolfc/distinfo
==============================================================================
--- head/games/pysolfc/distinfo	Sun Apr 29 01:23:04 2018	(r468599)
+++ head/games/pysolfc/distinfo	Sun Apr 29 02:28:52 2018	(r468600)
@@ -1,4 +1,5 @@
-SHA256 (pysolfc/PySolFC-2.0.tar.bz2) = dbcb8e7e6d0479c230745a2be91c0c9b9e8524407cd2075f2dae144e5d441b6c
-SIZE (pysolfc/PySolFC-2.0.tar.bz2) = 4208776
+TIMESTAMP = 1524964340
+SHA256 (pysolfc/PySolFC-2.2.0.tar.xz) = b32efc4e2aca7dcd5cadf02507eff8a6c5b3c7ad72140202f092dfea8162f20a
+SIZE (pysolfc/PySolFC-2.2.0.tar.xz) = 3183616
 SHA256 (pysolfc/PySolFC-Cardsets-2.0.tar.bz2) = c388d6360191b3b7e463d84e5a64260c4e3ed36e791a85227d7e8923f3f47ca7
 SIZE (pysolfc/PySolFC-Cardsets-2.0.tar.bz2) = 30687905

Modified: head/games/pysolfc/files/patch-data_pysolfc.glade
==============================================================================
--- head/games/pysolfc/files/patch-data_pysolfc.glade	Sun Apr 29 01:23:04 2018	(r468599)
+++ head/games/pysolfc/files/patch-data_pysolfc.glade	Sun Apr 29 02:28:52 2018	(r468600)
@@ -1,6 +1,9 @@
---- data/pysolfc.glade.orig	1970-01-01 01:00:00.000000000 +0100
-+++ data/pysolfc.glade	2009-03-13 16:35:46.000000000 +0100
-@@ -0,0 +1,4427 @@
+--- data/pysolfc.glade.orig	2012-03-09 09:50:24 UTC
++++ data/pysolfc.glade
+@@ -4425,3 +4425,4430 @@
+ </widget>
+ 
+ </glade-interface>
 +<?xml version="1.0" standalone="no"?> <!--*- mode: xml -*-->
 +<!DOCTYPE glade-interface SYSTEM "http://glade.gnome.org/glade-2.0.dtd">;
 +



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201804290228.w3T2SqwE038856>