diff options
author | Steve Wills <swills@FreeBSD.org> | 2019-12-06 16:25:57 +0000 |
---|---|---|
committer | Steve Wills <swills@FreeBSD.org> | 2019-12-06 16:25:57 +0000 |
commit | a3a91c9e3f08e286062e6361ab2b410beb300577 (patch) | |
tree | da061cf5b4718c6f2e28c6416fe958a6486704fc /accessibility | |
parent | 6a9a1171e6954e63ac9c00ef913b4f7167b1947d (diff) | |
download | ports-a3a91c9e3f08e286062e6361ab2b410beb300577.tar.gz ports-a3a91c9e3f08e286062e6361ab2b410beb300577.zip |
accessibility/py-papi: use patch to replace static content
Notes
Notes:
svn path=/head/; revision=519154
Diffstat (limited to 'accessibility')
-rw-r--r-- | accessibility/py-papi/Makefile | 2 | ||||
-rw-r--r-- | accessibility/py-papi/files/patch-setup.py | 11 |
2 files changed, 12 insertions, 1 deletions
diff --git a/accessibility/py-papi/Makefile b/accessibility/py-papi/Makefile index 22d56f74e845..7937e29c9402 100644 --- a/accessibility/py-papi/Makefile +++ b/accessibility/py-papi/Makefile @@ -24,7 +24,7 @@ EXAMPLES= atkaction.py atkapplication.py atkcapi.c atktext.py atkvalue.py \ OPTIONS_DEFINE= EXAMPLES post-patch: - @${REINPLACE_CMD} -i "" -e 's|: docfiles|: []|g' ${WRKSRC}/setup.py + @${RM} ${WRKSRC}/setup.py.orig post-install-EXAMPLES-on: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/ diff --git a/accessibility/py-papi/files/patch-setup.py b/accessibility/py-papi/files/patch-setup.py new file mode 100644 index 000000000000..073b0d1270de --- /dev/null +++ b/accessibility/py-papi/files/patch-setup.py @@ -0,0 +1,11 @@ +--- setup.py.orig 2009-03-01 11:06:58 UTC ++++ setup.py +@@ -212,7 +212,7 @@ interface system to enable accessibility for any pytho + "package_dir" : { "papi" : "lib" }, + "ext_modules" : [papi], + "headers" : headers, +- "data_files" : docfiles, ++ "data_files" : [], + "classifiers" : [ + "Development Status :: 3 - Alpha", + "Intended Audience :: Developers", |