Skip to content
Snippets Groups Projects
Commit 852d3591 authored by David Prévot's avatar David Prévot
Browse files

Initial packaging

parent ab8cc337
No related branches found
No related tags found
No related merge requests found
<?php
require_once 'Psr/Http/Message/autoload.php';
require_once 'Psr/Http/Client/autoload.php';
require_once 'Http/Promise/autoload.php';
// @codingStandardsIgnoreFile
// @codeCoverageIgnoreStart
// this is an autogenerated file - do not edit
spl_autoload_register(
function($class) {
static $classes = null;
if ($classes === null) {
$classes = array(
___CLASSLIST___
);
}
$cn = strtolower($class);
if (isset($classes[$cn])) {
require ___BASEDIR___$classes[$cn];
}
},
true,
false
);
// @codeCoverageIgnoreEnd
php-http-httplug (2.0.0-1) unstable; urgency=medium
* Initial release (new symfony build-dependency)
-- David Prévot <taffit@debian.org> Mon, 01 Jul 2019 15:01:02 -1000
src/autoload.php
Source: php-http-httplug
Section: php
Priority: optional
Maintainer: Debian PHP PEAR Maintainers <pkg-php-pear@lists.alioth.debian.org>
Uploaders: David Prévot <taffit@debian.org>
Build-Depends: debhelper-compat (= 12), phpab, pkg-php-tools (>= 1.7~)
Standards-Version: 4.3.0
Homepage: http://httplug.io
Vcs-Git: https://salsa.debian.org/php-team/pear/php-http-httplug.git
Vcs-Browser: https://salsa.debian.org/php-team/pear/php-http-httplug
Package: php-http-httplug
Architecture: all
Depends: ${misc:Depends}, ${phpcomposer:Debian-require}
Suggests: ${phpcomposer:Debian-suggest}
Breaks: ${phpcomposer:Debian-conflict}
Provides: ${phpcomposer:Debian-provide}
Description: ${phpcomposer:description}
HTTPlug allows one to write reusable libraries that need an HTTP client
without binding to a specific implementation.
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: HTTP Factories
Upstream-Contact: Márk Sági-Kazár <mark.sagikazar@gmail.com>
Source: https://github.com/php-http/httplug
Files: *
Copyright: 2014, Eric GELOEN <geloen.eric@gmail.com>
2015, PHP HTTP Team <team@php-http.org>
License: Expat
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
.
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
src/* usr/share/php/Http/Client
php-http promise php-http-promise
#!/usr/bin/make -f
%:
dh $@ --with phpcomposer
override_dh_auto_build:
phpab \
--output src/autoload.php \
--template debian/autoload.php.tpl \
src
3.0 (quilt)
version=3
options=uversionmangle=s/-?([^\d.])/~$1/i;tr/A-Z/a-z/ \
https://github.com/php-http/httplug/releases \
.*/archive/v?([\d\.]*-?\w*)\.tar\.gz
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment