mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 15:38:40 +01:00
twisted: import from old packages feed
- update to latest version (16.0.0) - change to one package containing all plugins/subprojects - add license info - add myself as maintainer This builds one main package, instead of multiple packages like the old packages feed, to match upstream. (Debian and Fedora are moving to a single-package model as well.) The obvious downside is a larger install size, but one main package should be easier to maintain in the future. Signed-off-by: Jeffery To <jeffery.to@gmail.com>
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
diff -Nur a/twisted/python/twisted-completion.zsh b/twisted/python/twisted-completion.zsh
|
||||
--- a/twisted/python/twisted-completion.zsh 2015-11-29 11:30:47.000000000 +0800
|
||||
+++ b/twisted/python/twisted-completion.zsh 2015-11-30 20:05:59.755695237 +0800
|
||||
@@ -1,4 +1,4 @@
|
||||
-#compdef twistd trial conch cftp ckeygen pyhtmlizer tap2deb tkconch manhole tap2rpm
|
||||
+#compdef twistd trial conch cftp ckeygen pyhtmlizer
|
||||
#
|
||||
# This is the ZSH completion file for Twisted commands. It calls the current
|
||||
# command-line with the special "--_shell-completion" option which is handled
|
||||
@@ -0,0 +1,32 @@
|
||||
diff -Nur a/setup.py b/setup.py
|
||||
--- a/setup.py 2015-11-29 11:30:46.000000000 +0800
|
||||
+++ b/setup.py 2015-12-02 18:22:10.251268303 +0800
|
||||
@@ -49,11 +49,11 @@
|
||||
scripts = getScripts()
|
||||
|
||||
setup_args.update(dict(
|
||||
- packages=getPackages('twisted'),
|
||||
+ packages=getPackages('twisted', ignore=['test']),
|
||||
conditionalExtensions=getExtensions(),
|
||||
scripts=scripts,
|
||||
extras_require=_EXTRAS_REQUIRE,
|
||||
- data_files=getDataFiles('twisted'),
|
||||
+ data_files=getDataFiles('twisted', ignore=['test']),
|
||||
**STATIC_PACKAGE_METADATA))
|
||||
|
||||
setup(**setup_args)
|
||||
diff -Nur a/twisted/python/dist.py b/twisted/python/dist.py
|
||||
--- a/twisted/python/dist.py 2015-11-29 11:30:47.000000000 +0800
|
||||
+++ b/twisted/python/dist.py 2015-12-02 19:21:20.076370379 +0800
|
||||
@@ -268,11 +268,6 @@
|
||||
"""
|
||||
extensions = [
|
||||
ConditionalExtension(
|
||||
- "twisted.test.raiser",
|
||||
- ["twisted/test/raiser.c"],
|
||||
- condition=lambda _: _isCPython),
|
||||
-
|
||||
- ConditionalExtension(
|
||||
"twisted.internet.iocpreactor.iocpsupport",
|
||||
["twisted/internet/iocpreactor/iocpsupport/iocpsupport.c",
|
||||
"twisted/internet/iocpreactor/iocpsupport/winsock_pointers.c"],
|
||||
Reference in New Issue
Block a user