OpenSDE Framework (without history before r20070)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

85 lines
2.7 KiB

  1. import time
  2. base="http://packages.debian.org"
  3. distro="stable"
  4. usage ="""sde pkg new --deb [options] arg
  5. example: sde pkg new -deb -o network/apache2 apache2
  6. Run --help (-h) for more info"""
  7. force=True
  8. guess=True
  9. def copynote(package):
  10. return """[COPY] --- SDE-COPYRIGHT-NOTE-BEGIN ---
  11. [COPY] This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  12. [COPY]
  13. [COPY] Filename: package/.../%(p)s/%(p)s.desc
  14. [COPY] Copyright (C) %(t)s The OpenSDE Project
  15. [COPY]
  16. [COPY] More information can be found in the files COPYING and README.
  17. [COPY]
  18. [COPY] This program is free software; you can redistribute it and/or modify
  19. [COPY] it under the terms of the GNU General Public License as published by
  20. [COPY] the Free Software Foundation; version 2 of the License. A copy of the
  21. [COPY] GNU General Public License can be found in the file COPYING.
  22. [COPY] --- SDE-COPYRIGHT-NOTE-END ---""" %{ "p": package,
  23. 't': time.strftime('%Y')}
  24. desci="[I] TODO: Short Information"
  25. desct="""TODO: Long Explanation
  26. TODO: Long Explanation
  27. TODO: Long Explanation
  28. TODO: Long Explanation
  29. TODO: Long Explanation"""
  30. descu="[U] TODO: URL"
  31. desca="[A] TODO: Author"
  32. descm="[M] The OpenSDE Community <list@opensde.org>"
  33. descc="[C] TODO: Category"
  34. descl="[L] TODO: License"
  35. descs="[S] TODO: Status"
  36. descv="[V] TODO: Version"
  37. descp="[P] X -----5---9 800.000"
  38. descd="[D] 0"
  39. status={"oldstable":"stable",
  40. "stable":"Stable",
  41. "testing":"Gamma",
  42. "unstable":"Beta",
  43. "experimental":"Alpha"}
  44. licenses={"contrib":"OpenSource",
  45. "Non-Free":"Free-to-use",
  46. "Non-US/Main":"Free-to-use",
  47. "Non-US/Non-Free":"OpenSource"}
  48. categories={"admin":"extra/tool",
  49. "comm":"extra/network",
  50. "debian-installer":"extra/base",
  51. "doc":"extra/documentation",
  52. "editors":"extra/editor",
  53. "electronics":"extra/tool",
  54. "embedded":"extra/embedded",
  55. "games":"extra/game",
  56. "gnome":"extra/desktop/gnome",
  57. "graphics":"extra/graphic",
  58. "hamradio":"extra/tool",
  59. "interpreters":"extra/shell",
  60. "kde":"extra/desktop/kde",
  61. "libdevel":"extra/development",
  62. "libs":"extra/library",
  63. "mail":"extra/office",
  64. "math":"extra/scientific",
  65. "misc":"extra/miscellaneous",
  66. "net":"extra/network",
  67. "news":"extra/office",
  68. "oldlibs":"extra/library",
  69. "otherosfs":"extra/tools",
  70. "perl":"extra/development",
  71. "python":"extra/development",
  72. "science":"extra/scientific",
  73. "shells":"extra/shell",
  74. "tex":"extra/text",
  75. "text":"extra/text",
  76. "utils":"extra/tool",
  77. "web":"extra/network",
  78. "x11":"extra/x11"
  79. }
  80. # category exlucsion:reason
  81. debianpolicy="http://www.debian.org/doc/debian-policy/ch-binary"
  82. excludecat={"virtual":"""
  83. This is a debian only package.
  84. See %s#s-virtual_pkg for reason"""% debianpolicy
  85. }