source: trunk/dports/lang/pyobfuscate/Portfile

Last change on this file was 129920, checked in by larryv@…, 3 years ago

pyobfuscate: Use python-1.0 portgroup

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.3 KB
Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
2# $Id: Portfile 129920 2014-12-23 05:11:19Z ryandesign@macports.org $
3
4PortSystem          1.0
5PortGroup           github 1.0
6PortGroup           python 1.0
7
8# Couldn't figure how to fetch the project's releases.
9github.setup        astrand pyobfuscate 79cd76aa6526a34b5f0dbf39c904ae8393188034
10version             0.3
11revision            2
12categories          lang python
13platforms           darwin
14supported_archs     noarch
15license             GPL-2
16maintainers         nomaintainer
17
18description         Python source code obfuscator
19long_description    pyobfuscate is a source code obfuscator: It makes \
20                    Python source code hard to read for humans, while \
21                    still being executable for the Python interpreter.
22
23python.default_version  27
24
25checksums           rmd160  2dffbe40b64a5fcbb0374a8ff34074b24a0d8c50 \
26                    sha256  191091b082a6a04245fc606187036ab36d9f95557137149879abac9780fa3de4
27
28patchfiles          use-macports-python-prefix.patch
29post-patch {
30    reinplace s|__PYTHON_PREFIX__|${python.prefix}| ${worksrcpath}/setup.py
31}
32
33post-destroot {
34    set docdir ${destroot}${prefix}/share/doc/${name}
35    xinstall -m 755 -d ${docdir}
36    xinstall -W ${worksrcpath} -m 644 LICENSE README TODO ${docdir}
37}
Note: See TracBrowser for help on using the repository browser.