upstreamsource.py 1.2 KB

1234567891011121314151617181920212223242526272829
  1. # vim: set fileencoding=utf-8 :
  2. #
  3. # (C) 2013 Intel Corporation <markus.lehtonen@linux.intel.com>
  4. # This program is free software; you can redistribute it and/or modify
  5. # it under the terms of the GNU General Public License as published by
  6. # the Free Software Foundation; either version 2 of the License, or
  7. # (at your option) any later version.
  8. #
  9. # This program is distributed in the hope that it will be useful,
  10. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  11. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  12. # GNU General Public License for more details.
  13. #
  14. # You should have received a copy of the GNU General Public License
  15. # along with this program; if not, please see
  16. # <http://www.gnu.org/licenses/>
  17. """Debian-specific upstream sources"""
  18. from gbp.pkg import UpstreamSource
  19. from gbp.deb.policy import DebianPkgPolicy
  20. class DebianUpstreamSource(UpstreamSource):
  21. """Upstream source class for Debian"""
  22. def __init__(self, name, unpacked=None):
  23. super(DebianUpstreamSource, self).__init__(name,
  24. unpacked,
  25. DebianPkgPolicy)