summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJasper Lievisse Adriaanse <jasper@cvs.openbsd.org>2015-04-02 13:58:56 +0000
committerJasper Lievisse Adriaanse <jasper@cvs.openbsd.org>2015-04-02 13:58:56 +0000
commit9da1d394d67501cd502f11d0cb392f29f1689ab6 (patch)
tree0e6fbad253d817945f23e1cf1b9eed571928ce4f
parent283cf719520d819677ceee3c7245de96fe50d82c (diff)
document MODPY_PI
-rw-r--r--share/man/man5/port-modules.510
1 files changed, 8 insertions, 2 deletions
diff --git a/share/man/man5/port-modules.5 b/share/man/man5/port-modules.5
index 03e6fd15380..ca62e49d830 100644
--- a/share/man/man5/port-modules.5
+++ b/share/man/man5/port-modules.5
@@ -1,4 +1,4 @@
-.\" $OpenBSD: port-modules.5,v 1.186 2015/03/27 08:17:00 ajacoutot Exp $
+.\" $OpenBSD: port-modules.5,v 1.187 2015/04/02 13:58:55 jasper Exp $
.\"
.\" Copyright (c) 2008 Marc Espie
.\"
@@ -24,7 +24,7 @@
.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd $Mdocdate: March 27 2015 $
+.Dd $Mdocdate: April 2 2015 $
.Dt PORT-MODULES 5
.Os
.Sh NAME
@@ -979,6 +979,12 @@ and
May affect the
.Ar test
target.
+If
+.Ev MODPY_PI
+is set to Yes it will set
+.Ev MASTER_SITES .
+The subdirectory can be overriden with
+.Ev MODPY_PI_DIR .
.Pp
Python 2.x places .pyc files in the same directory as the associated .py file.
Python 3.x places these in a separate __pycache__ directory and uses an