From owner-freebsd-python@freebsd.org  Mon Sep 25 05:00:47 2017
Return-Path: <owner-freebsd-python@freebsd.org>
Delivered-To: freebsd-python@mailman.ysv.freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 by mailman.ysv.freebsd.org (Postfix) with ESMTP id E0A8DE09740;
 Mon, 25 Sep 2017 05:00:47 +0000 (UTC)
 (envelope-from koobs.freebsd@gmail.com)
Received: from mail-pf0-x22e.google.com (mail-pf0-x22e.google.com
 [IPv6:2607:f8b0:400e:c00::22e])
 (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
 (Client CN "smtp.gmail.com",
 Issuer "Google Internet Authority G2" (verified OK))
 by mx1.freebsd.org (Postfix) with ESMTPS id B8AAF6DFB3;
 Mon, 25 Sep 2017 05:00:47 +0000 (UTC)
 (envelope-from koobs.freebsd@gmail.com)
Received: by mail-pf0-x22e.google.com with SMTP id g65so3232857pfe.13;
 Sun, 24 Sep 2017 22:00:47 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=sender:reply-to:subject:to:references:from:message-id:date
 :user-agent:mime-version:in-reply-to:content-language
 :content-transfer-encoding;
 bh=aa6nm7SmzxP9YqyrDOsPztlUz6i098VH316OLrzXjTA=;
 b=OzoDGalQS5B8RKUw/xIkna+XgCpCz07grZmHM67k7ipxKFkEWYPzM4w4BbQr3w9kVm
 TSwkAGMTa0cCMfDv7HYLxMr+vd2olZ9OPqSideEBJ5Afsa++9jjhxCpc5it66NMgrd/C
 cqqgXxWlNHTzds73Wypl12BJFpSL/oLIfN/95gZNTOD6cUL+OOt53U/5WlpONu+q3M2T
 4Ghw2xjqx1uZ7Oo+bBCNGc43LumRq7bJ5R88iNIY7Rnulq6Ww2YYkYzsiv2EKcQqz4sg
 lNmk2dhV+JDGB+8l2WPihlFFABFP34+OY4s2ON9/uPXDxa+2TYzzHRMPWZ2jb+/aVYc4
 V2Lw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:sender:reply-to:subject:to:references:from
 :message-id:date:user-agent:mime-version:in-reply-to
 :content-language:content-transfer-encoding;
 bh=aa6nm7SmzxP9YqyrDOsPztlUz6i098VH316OLrzXjTA=;
 b=cn5OxJ26bT8JTd46M5cCylOdBKJhKL3/af08TWPB3wPV0kx26KJfI8dHvzfyBMLA1J
 x16nNrylLYTHVZDUiEFLFIZLdm6Tskvl0SNghNzIvb1I3lfq4UsTfxdpAYFRcx4BQYov
 s9h7UCq4glIh/kDXBg0poMVe2ogqaAx1zptV2WFUZmgTXtShSaMjAGI2XGkEk9MXS6/N
 nYylar2ZPH/c1j0FXM/7lzbKtVMqiQAlEvSBSlV+bJy/bYMW8BVwrNh7VoHGKLKESmwO
 +l8AaZ0FvnjjcgUx/VVFJueJZCFaqQ0aN4uhGuRtnviH2u4UrsTCofMwRxXN4a2CYP0J
 VJ8A==
X-Gm-Message-State: AHPjjUicqdMMdXWzoB95To4TQX1WHQDmCvhDPYC0WsIJLBxP/tG35uau
 nEIHW68IQO8bApR4kcxZO8OywUcQ
X-Google-Smtp-Source: AOwi7QASWCkitmuK2XCbt3wo73yGnkM905SxSDTqUZqjNnUnWmXDcWMCr/Au0wHP3H1qRMAlNNywvQ==
X-Received: by 10.99.160.2 with SMTP id r2mr6411461pge.158.1506315646862;
 Sun, 24 Sep 2017 22:00:46 -0700 (PDT)
Received: from ?IPv6:2001:44b8:31ae:7b01:9442:79f1:c7c:81a3?
 (2001-44b8-31ae-7b01-9442-79f1-0c7c-81a3.static.ipv6.internode.on.net.
 [2001:44b8:31ae:7b01:9442:79f1:c7c:81a3])
 by smtp.gmail.com with ESMTPSA id n19sm11365324pfj.114.2017.09.24.22.00.44
 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
 Sun, 24 Sep 2017 22:00:46 -0700 (PDT)
Sender: Kubilay Kocak <koobs.freebsd@gmail.com>
Reply-To: koobs@FreeBSD.org
Subject: Re: Question: How to add a configuration file with autoplist ?
To: Helen Koike <helen.koike@collabora.com>, freebsd-ports@freebsd.org,
 FreeBSD Python <freebsd-python@FreeBSD.org>
References: <d458ec9a-dcde-66b5-b848-a327de536c62@collabora.com>
From: Kubilay Kocak <koobs@FreeBSD.org>
Message-ID: <aa1d349e-3bed-7b22-18e0-450cd45cc07b@FreeBSD.org>
Date: Mon, 25 Sep 2017 14:54:31 +1000
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:54.0) Gecko/20100101
 Thunderbird/54.0a2
MIME-Version: 1.0
In-Reply-To: <d458ec9a-dcde-66b5-b848-a327de536c62@collabora.com>
Content-Type: text/plain; charset=utf-8
Content-Language: en-AU
Content-Transfer-Encoding: 7bit
X-BeenThere: freebsd-python@freebsd.org
X-Mailman-Version: 2.1.23
Precedence: list
List-Id: FreeBSD-specific Python issues <freebsd-python.freebsd.org>
List-Unsubscribe: <https://lists.freebsd.org/mailman/options/freebsd-python>, 
 <mailto:freebsd-python-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-python/>
List-Post: <mailto:freebsd-python@freebsd.org>
List-Help: <mailto:freebsd-python-request@freebsd.org?subject=help>
List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/freebsd-python>,
 <mailto:freebsd-python-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Mon, 25 Sep 2017 05:00:48 -0000

On 9/25/17 6:16 AM, Helen Koike wrote:
> Hi,
> 
> According to
> https://www.freebsd.org/doc/en/books/porters-handbook/plist-config.html
> , I need to add a @sample macro in pkg-plist to add a configuration file.
> 
> But I am also using USE_PYTHON= autoplist in my Makefile, so I don't
> have the pkg-plist file.
> 
> Should I remove autoplist and generate the pkg-plist by hand? Or is
> there another way to do this?
> 
> I'll need this to update the version of the package
> sysutils/py-google-compute-engine.
> 
> Thanks
> Helen

Hi Helen,

As far as I'm aware, autoplist, PLIST_* definitions and pkg-plist
entries can be used cumulatively (in combination with each other) to
produce a correct and complete installed files list

./koobs