Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
48 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
# -*- 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 | ||
|
||
PortSystem 1.0 | ||
PortGroup python 1.0 | ||
|
||
name py-appdirs | ||
version 1.4.0 | ||
platforms darwin | ||
supported_archs noarch | ||
maintainers nomaintainer | ||
license MIT | ||
|
||
description module that finds where to keep user data | ||
|
||
long_description A Python module for determining appropriate \ | ||
platform-specific per-user directories for data, \ | ||
configuration files, etc. | ||
|
||
homepage https://github.com/ActiveState/appdirs | ||
master_sites pypi:a/appdirs | ||
distname ${python.rootname}-${version} | ||
|
||
checksums md5 1d17b4c9694ab84794e228f28dc3275b \ | ||
rmd160 50000f1b504ed024a976cde1426883b301aa977e \ | ||
sha256 8fc245efb4387a4e3e0ac8ebcc704582df7d72ff6a42a53f5600bbb18fdaadc5 | ||
|
||
python.versions 26 27 33 34 35 36 | ||
|
||
if {$subport ne $name} { | ||
patchfiles setup.py.patch | ||
post-destroot { | ||
set docdir ${prefix}/share/doc/${subport} | ||
xinstall -d ${destroot}${docdir} | ||
xinstall -m 644 -W ${worksrcpath} CHANGES.rst LICENSE.txt README.rst \ | ||
${destroot}${docdir} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- setup.py.orig 2014-08-18 03:27:12.000000000 +1000 | ||
+++ setup.py 2017-02-09 08:30:12.000000000 +1100 | ||
@@ -2,7 +2,7 @@ | ||
import sys | ||
import os | ||
import os.path | ||
-from setuptools import setup | ||
+from distutils.core import setup | ||
import appdirs | ||
|
||
tests_require = [] |