diff --git a/debian/autoloaders/php-http-interop-http-factory-tests b/debian/autoloaders/php-http-interop-http-factory-tests
new file mode 100644
index 0000000000000000000000000000000000000000..e9cad61fbde7abf3ca30eadb56f24f74f6b764e0
--- /dev/null
+++ b/debian/autoloaders/php-http-interop-http-factory-tests
@@ -0,0 +1 @@
+http-interop http-factory-tests Interop/Http/Factory/autoload.php
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000000000000000000000000000000000000..7db1873a3c5329350677eaab05dd66822c1ffb33
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+php-http-interop-http-factory-tests (0.9.0-1) unstable; urgency=low
+
+  * Initial release (new php-guzzlehpttp-psr7 build-dependency)
+
+ -- David Prévot <taffit@debian.org>  Tue, 30 Mar 2021 09:06:45 -0400
diff --git a/debian/clean b/debian/clean
new file mode 100644
index 0000000000000000000000000000000000000000..20fbec28facbfb54ffccf8f58102f9541f4b9c2b
--- /dev/null
+++ b/debian/clean
@@ -0,0 +1 @@
+test/autoload.php
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000000000000000000000000000000000000..0c2ba4be6a1ce8743036cc6572552130381c18eb
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,26 @@
+Source: php-http-interop-http-factory-tests
+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 (= 13),
+               dh-sequence-phpcomposer,
+               phpab,
+               phpunit (>= 9.5.3),
+               pkg-php-tools (>= 1.41~)
+Standards-Version: 4.5.1
+Homepage: https://github.com/http-interop/http-factory-tests
+Vcs-Git: https://salsa.debian.org/php-team/pear/php-http-interop-http-factory-tests.git
+Vcs-Browser: https://salsa.debian.org/php-team/pear/php-http-interop-http-factory-tests
+Rules-Requires-Root: no
+
+Package: php-http-interop-http-factory-tests
+Architecture: all
+Depends: ${misc:Depends}, ${phpcomposer:Debian-require}
+Recommends: ${phpcomposer:Debian-recommend}
+Suggests: ${phpcomposer:Debian-suggest}
+Replaces: ${phpcomposer:Debian-replace}
+Breaks: ${phpcomposer:Debian-conflict}, ${phpcomposer:Debian-replace}
+Provides: ${phpcomposer:Debian-provide}
+Description: ${phpcomposer:description}
+ This package provides ${phpcomposer:description}.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000000000000000000000000000000000000..b0e60dcec7939819d9900569099341ce77ce30a2
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,25 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: Unit tests for HTTP Factory implementations
+Upstream-Contact: Woody Gilk <woody.gilk@gmail.com>
+Source: https://github.com/http-interop/http-factory-tests
+
+Files: *
+Copyright: 2016, Woody Gilk <woody.gilk@gmail.com>
+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.
diff --git a/debian/gbp.conf b/debian/gbp.conf
new file mode 100644
index 0000000000000000000000000000000000000000..07ca718656b28eea96506ae87356b308c33394d5
--- /dev/null
+++ b/debian/gbp.conf
@@ -0,0 +1,4 @@
+[DEFAULT]
+debian-branch = debian/latest
+pristine-tar = True
+upstream-vcs-tag = %(version%~%-)s
diff --git a/debian/install b/debian/install
new file mode 100644
index 0000000000000000000000000000000000000000..8bc78b17d21c0838fe7e09612ea1284a65780527
--- /dev/null
+++ b/debian/install
@@ -0,0 +1,2 @@
+debian/autoloaders	usr/share/pkg-php-tools
+test/*			usr/share/php/Interop/Http/Factory
diff --git a/debian/pkg-php-tools-autoloaders b/debian/pkg-php-tools-autoloaders
new file mode 100644
index 0000000000000000000000000000000000000000..2b387cd19a06287b311e335544dbd02f6f1dd84a
--- /dev/null
+++ b/debian/pkg-php-tools-autoloaders
@@ -0,0 +1 @@
+psr http-factory Psr/Http/Message/factory-autoload.php
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000000000000000000000000000000000000..aa86b85a5f83c762e3130c7a086c51fa57238362
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,10 @@
+#!/usr/bin/make -f
+%:
+	dh $@
+
+override_dh_auto_build:
+	phpabtpl composer.json > debian/autoload.php.tpl
+	phpab \
+		--output test/autoload.php \
+		--template debian/autoload.php.tpl \
+		test
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000000000000000000000000000000000000..163aaf8d82b6c54f23c45f32895dbdfdcc27b047
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/debian/upstream/metadata b/debian/upstream/metadata
new file mode 100644
index 0000000000000000000000000000000000000000..818dd235a6cd98014445c5dbe8c70ec19af45515
--- /dev/null
+++ b/debian/upstream/metadata
@@ -0,0 +1,5 @@
+---
+Bug-Database: https://github.com/http-interop/http-factory-tests/issues
+Bug-Submit: https://github.com/http-interop/http-factory-tests/issues/new
+Repository: https://github.com/http-interop/http-factory-tests.git
+Repository-Browse: https://github.com/http-interop/http-factory-tests
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000000000000000000000000000000000000..7d14f6cd0d960884e0ce6154c6271f807c3d5073
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,4 @@
+version=4
+options=uversionmangle=s/-?([^\d.])\.?/~$1/i;tr/A-Z/a-z/ \
+https://github.com/http-interop/http-factory-tests/releases \
+.*/v?(\d.+).tar.gz