mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-30 01:15:52 +00:00
Remove optional dependency on py-gobject
With hat: portmgr
This commit is contained in:
parent
2c7895dc92
commit
b0a03dfd8b
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=526503
@ -4,7 +4,7 @@
|
||||
PORTNAME= duplicity
|
||||
PORTVERSION= 0.8.10
|
||||
DISTVERSIONSUFFIX= fin1558
|
||||
PORTREVISION= 1
|
||||
PORTREVISION= 2
|
||||
CATEGORIES= sysutils
|
||||
MASTER_SITES= https://code.launchpad.net/duplicity/0.8-series/${PORTVERSION}/+download/
|
||||
PKGNAMESUFFIX= -devel
|
||||
@ -34,7 +34,7 @@ SHEBANG_FILES= bin/duplicity bin/rdiffdir
|
||||
|
||||
PORTDOCS= CHANGELOG COPYING README README-REPO README-LOG
|
||||
|
||||
OPTIONS_DEFINE= B2 DOCS FTP FTPS GDOCS GIO NLS S3
|
||||
OPTIONS_DEFINE= B2 DOCS FTP FTPS GDOCS NLS S3
|
||||
OPTIONS_GROUP= GPG
|
||||
OPTIONS_SINGLE= GPG
|
||||
OPTIONS_SINGLE_GPG= GNUPG GNUPG2
|
||||
@ -44,7 +44,6 @@ B2_DESC= Backblaze B2 backend
|
||||
FTP_DESC= FTP backend
|
||||
FTPS_DESC= FTPS backend
|
||||
GDOCS_DESC= Google Docs backend
|
||||
GIO_DESC= GIO backend
|
||||
GPG_DESC= GnuPG support
|
||||
GNUPG_DESC= Use GnuPG 1
|
||||
GNUPG2_DESC= Use GnuPG 2
|
||||
@ -54,15 +53,13 @@ B2_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}b2sdk>=0.1.8:devel/py-b2sdk@${PY_FLAVOR}
|
||||
FTP_RUN_DEPENDS= ncftp>=3.2.2:ftp/ncftp3
|
||||
FTPS_RUN_DEPENDS= lftp>=3.7.15:ftp/lftp
|
||||
GDOCS_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pydrive>0:devel/py-pydrive@${PY_FLAVOR}
|
||||
GIO_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}gobject>0:devel/py-gobject@${PY_FLAVOR} \
|
||||
dbus>0:devel/dbus
|
||||
GNUPG_RUN_DEPENDS= gnupg1>=1.4.7:security/gnupg1
|
||||
GNUPG2_RUN_DEPENDS= gpg2:security/gnupg
|
||||
NLS_USES= gettext
|
||||
S3_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}boto>=1.6b:devel/py-boto@${PY_FLAVOR}
|
||||
|
||||
post-patch:
|
||||
.for f in cfbackend _cf_cloudfiles _cf_pyrax
|
||||
.for f in cfbackend _cf_cloudfiles _cf_pyrax giobackend
|
||||
@${RM} ${WRKSRC}/${PORTNAME}/backends/${f}.py
|
||||
.endfor
|
||||
|
||||
@ -84,9 +81,6 @@ post-patch-S3-off:
|
||||
post-patch-GDOCS-off:
|
||||
@${RM} ${WRKSRC}/${PORTNAME}/backends/gdocsbackend.py
|
||||
|
||||
post-patch-GIO-off:
|
||||
@${RM} ${WRKSRC}/${PORTNAME}/backends/giobackend.py
|
||||
|
||||
post-patch-B2-off:
|
||||
@${RM} ${WRKSRC}/${PORTNAME}/backends/b2backend.py
|
||||
|
||||
|
@ -3,6 +3,7 @@
|
||||
|
||||
PORTNAME= duplicity
|
||||
PORTVERSION= 0.7.19
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= sysutils
|
||||
MASTER_SITES= http://launchpad.net/duplicity/0.7-series/${PORTVERSION}/+download/
|
||||
|
||||
@ -27,7 +28,7 @@ SHEBANG_FILES= bin/duplicity bin/rdiffdir
|
||||
|
||||
PORTDOCS= CHANGELOG COPYING README README-REPO README-LOG
|
||||
|
||||
OPTIONS_DEFINE= DOCS FTP FTPS GDOCS GIO NLS S3
|
||||
OPTIONS_DEFINE= DOCS FTP FTPS GDOCS NLS S3
|
||||
OPTIONS_GROUP= GPG
|
||||
OPTIONS_SINGLE= GPG
|
||||
OPTIONS_SINGLE_GPG= GNUPG GNUPG2
|
||||
@ -35,7 +36,6 @@ OPTIONS_DEFAULT= FTP FTPS GNUPG2 S3
|
||||
FTP_DESC= FTP backend
|
||||
FTPS_DESC= FTPS backend
|
||||
GDOCS_DESC= Google Docs backend
|
||||
GIO_DESC= GIO backend
|
||||
GPG_DESC= GnuPG support
|
||||
GNUPG_DESC= Use GnuPG 1
|
||||
GNUPG2_DESC= Use GnuPG 2
|
||||
@ -44,15 +44,13 @@ S3_DESC= Amazon S3 backend
|
||||
FTP_RUN_DEPENDS= ncftp>=3.2.2:ftp/ncftp3
|
||||
FTPS_RUN_DEPENDS= lftp>=3.7.15:ftp/lftp
|
||||
GDOCS_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}gdata>0:devel/py-gdata@${PY_FLAVOR}
|
||||
GIO_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}gobject>0:devel/py-gobject@${PY_FLAVOR} \
|
||||
dbus>0:devel/dbus
|
||||
GNUPG_RUN_DEPENDS= gnupg1>=1.4.7:security/gnupg1
|
||||
GNUPG2_RUN_DEPENDS= gpg2:security/gnupg
|
||||
NLS_USES= gettext
|
||||
S3_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}boto>=1.6b:devel/py-boto@${PY_FLAVOR}
|
||||
|
||||
post-patch:
|
||||
.for f in cfbackend _cf_cloudfiles _cf_pyrax
|
||||
.for f in cfbackend _cf_cloudfiles _cf_pyrax giobackend
|
||||
@${RM} ${WRKSRC}/${PORTNAME}/backends/${f}.py
|
||||
.endfor
|
||||
|
||||
@ -74,9 +72,6 @@ post-patch-S3-off:
|
||||
post-patch-GDOCS-off:
|
||||
@${RM} ${WRKSRC}/${PORTNAME}/backends/gdocsbackend.py
|
||||
|
||||
post-patch-GIO-off:
|
||||
@${RM} ${WRKSRC}/${PORTNAME}/backends/giobackend.py
|
||||
|
||||
post-install:
|
||||
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/python2.7/site-packages/duplicity/_librsync.so
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user